Integrate Launchable into mingw

This commit is contained in:
Naoto Ono 2024-06-22 22:02:00 +09:00 committed by Hiroshi SHIBATA
parent 96b45e61ca
commit a22448df9d

View File

@ -107,6 +107,8 @@ jobs:
srcdir: src srcdir: src
builddir: build builddir: build
makeup: true makeup: true
# Set fetch-depth: 10 so that Launchable can receive commits information.
fetch-depth: 10
- name: configure - name: configure
run: > run: >
@ -120,6 +122,18 @@ jobs:
- name: make install - name: make install
run: make DESTDIR=../install install-nodoc run: make DESTDIR=../install install-nodoc
- name: Set up Launchable
uses: ./.github/actions/launchable/setup
with:
os: windows-2022
# If we support new test task, we need to change this test-opts.
test-opts: --retry --job-status=normal --show-skip --timeout-scale=1.5
${{ matrix.test-all-opts }}
launchable-token: ${{ secrets.LAUNCHABLE_TOKEN }}
builddir: build
srcdir: src
continue-on-error: true
- name: test - name: test
timeout-minutes: 30 timeout-minutes: 30
run: make test run: make test
@ -138,6 +152,7 @@ jobs:
RUBY_TESTOPTS: >- RUBY_TESTOPTS: >-
--retry --job-status=normal --show-skip --timeout-scale=1.5 --retry --job-status=normal --show-skip --timeout-scale=1.5
${{ matrix.test-all-opts }} ${{ matrix.test-all-opts }}
${{ env.TESTS }}
BUNDLER_VERSION: BUNDLER_VERSION:
if: ${{ matrix.test_task == 'check' || matrix.test_task == 'test-all' || StartsWith(matrix.test_task, 'test/') }} if: ${{ matrix.test_task == 'check' || matrix.test_task == 'test-all' || StartsWith(matrix.test_task, 'test/') }}