summaryrefslogtreecommitdiff
path: root/.github/workflows/ubuntu.yml
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2024-03-21 16:15:53 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2024-03-21 16:15:53 +0900
commit9e3077a7a6a59512aea5538adf173a33bbc5db3f (patch)
tree339e0099b4b99618478c601919ad171f702bbf2f /.github/workflows/ubuntu.yml
parent92f72221f1823c8c4288898585460f879d28945c (diff)
Move old OS versions to `include:` and simplify test matrices
Diffstat (limited to '.github/workflows/ubuntu.yml')
-rw-r--r--.github/workflows/ubuntu.yml11
1 files changed, 4 insertions, 7 deletions
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index 80a76cfaeb..95f7e97d18 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.github/workflows/ubuntu.yml
@@ -24,32 +24,29 @@ jobs:
make:
strategy:
matrix:
- os: [ubuntu-22.04, ubuntu-20.04]
test_task: [check]
arch: ['']
configure: ['cppflags=-DVM_CHECK_MODE']
+ os: ['']
# specifying other jobs with `include` to avoid redundant tests
include:
- test_task: check
arch: i686
- os: ubuntu-22.04
- test_task: check
configure: '--disable-yjit'
- os: ubuntu-22.04
- test_task: check
configure: '--enable-shared --enable-load-relative'
- os: ubuntu-22.04
- test_task: test-bundler-parallel
- os: ubuntu-22.04
- test_task: test-bundled-gems
- os: ubuntu-22.04
+ - test_task: check
+ os: ubuntu-20.04
fail-fast: false
env:
GITPULLOPTIONS: --no-tags origin ${{ github.ref }}
RUBY_DEBUG: ci
- runs-on: ${{ matrix.os }}
+ runs-on: ${{ matrix.os || 'ubuntu-22.04' }}
if: >-
${{!(false