Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use matrix.entry for the Ubuntu workflow #7205

Merged
merged 2 commits into from Jan 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 4 additions & 9 deletions .github/workflows/ubuntu.yml
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down