summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-01-30 22:44:24 -0800
committerGitHub <noreply@github.com>2023-01-30 22:44:24 -0800
commit6d1077974f39f216c80217f4957f089f3aa2094f (patch)
treed2ab00f7135f53cac49604f6382dbe14c8711383 /.github
parent5b67c15cd837fb4ffeea1863c711a32522387213 (diff)
Use matrix.entry for the Ubuntu workflow (#7205)
This seems easier to understand. Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
Notes
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ubuntu.yml13
1 files changed, 4 insertions, 9 deletions
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index cefcf0ed27..d6d605def1 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.github/workflows/ubuntu.yml
@@ -26,18 +26,12 @@ jobs:
make:
strategy:
matrix:
- # main variables included in the job name
- test_task: [check]
- configure: [cppflags=-DRUBY_DEBUG] # default to use more assertions
- arch: ['']
- # specify all jobs with `include` to avoid testing duplicated things
- include:
+ entry:
- test_task: check
- test_task: check
arch: i686
- configure: '' # test without -DRUBY_DEBUG as well
- test_task: check
- configure: "--enable-shared --enable-load-relative"
+ configure: '--enable-shared --enable-load-relative'
- test_task: test-all TESTS=--repeat-count=2
- test_task: test-bundler-parallel
- test_task: test-bundled-gems
@@ -89,8 +83,9 @@ jobs:
- name: Run configure
env:
arch: ${{matrix.arch}}
+ configure: ${{matrix.configure}}
run: >-
- $SETARCH ../src/configure -C --disable-install-doc ${{ matrix.configure }}
+ $SETARCH ../src/configure -C --disable-install-doc ${configure:-cppflags=-DRUBY_DEBUG}
${arch:+--target=$arch-$OSTYPE --host=$arch-$OSTYPE}
- run: $SETARCH make incs
- run: $SETARCH make prepare-gems