diff options
| author | Naoto Ono <onoto1998@gmail.com> | 2024-07-29 16:43:53 +0900 |
|---|---|---|
| committer | Koichi Sasada <ko1@atdot.net> | 2024-08-01 17:49:32 +0900 |
| commit | e0f4cbd6125445bbbbb8437d8cfb51509e1dd3f7 (patch) | |
| tree | f973bf1fc1598f24112c6c607cedfe28d8d5d2c4 | |
| parent | 9ed7e06a27f9bdcbf636be605e4e81edcc65c69f (diff) | |
Integrate Launchable into windows
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/11272
| -rw-r--r-- | .github/actions/launchable/setup/action.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/windows.yml | 16 |
2 files changed, 16 insertions, 2 deletions
diff --git a/.github/actions/launchable/setup/action.yml b/.github/actions/launchable/setup/action.yml index 6f81531ddc..919c022ce4 100644 --- a/.github/actions/launchable/setup/action.yml +++ b/.github/actions/launchable/setup/action.yml @@ -63,7 +63,7 @@ runs: ${{ (github.repository == 'ruby/ruby' || (github.repository != 'ruby/ruby' && env.LAUNCHABLE_TOKEN)) && - (matrix.test_task == 'check' || matrix.test_task == 'test-all') + (inputs.test-task == 'check' || inputs.test-task == 'test-all') }} # Launchable CLI requires Python and Java. diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index be291ff4bc..90741f03e5 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -173,9 +173,23 @@ jobs: - run: nmake test-spec timeout-minutes: 10 + - name: Set up Launchable + uses: ./.github/actions/launchable/setup + with: + os: windows-${{ matrix.vs < 2022 && '2019' || matrix.vs }} + test-task: test-all + # If we support a new test task, we need to change this test-opts. + test-opts: -j${{ env.TEST_JOBS || 4 }} --job-status=normal + launchable-token: ${{ secrets.LAUNCHABLE_TOKEN }} + builddir: build + srcdir: src + continue-on-error: true + - run: nmake test-all env: - RUBY_TESTOPTS: -j${{ env.TEST_JOBS || 4 }} --job-status=normal + RUBY_TESTOPTS: >- + -j${{ env.TEST_JOBS || 4 }} + --job-status=normal timeout-minutes: 60 - uses: ./.github/actions/slack |
