Skip to content

Commit

Permalink
Run just bignum related tests when gmp enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu authored and hsbt committed Sep 30, 2024
1 parent 9a9e212 commit cdde7c6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/compilers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ jobs:
- { name: '-O0', env: { optflags: '-O0 -march=x86-64 -mtune=generic' } }
# - { name: '-O3', env: { optflags: '-O3 -march=x86-64 -mtune=generic' }, check: true }

- { name: gmp, env: { append_configure: '--with-gmp' }, check: true }
- { name: gmp, env: { append_configure: '--with-gmp' }, check: 'ruby/test_bignum.rb' }
- { name: jemalloc, env: { append_configure: '--with-jemalloc' } }
- { name: valgrind, env: { append_configure: '--with-valgrind' } }
- { name: 'coroutine=ucontext', env: { append_configure: '--with-coroutine=ucontext' } }
Expand Down Expand Up @@ -275,8 +275,10 @@ jobs:
- run: make test-tool
if: ${{ matrix.entry.check }}

- run: make test-all TESTS='-- ruby -ext-'
- run: make test-all TESTS="-- $tests"
if: ${{ matrix.entry.check }}
env:
tests: ${{ matrix.entry.check == true && 'ruby -ext-' || matrix.entry.check }}

- run: make test-spec
env:
Expand Down

0 comments on commit cdde7c6

Please sign in to comment.