diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-09-09 17:25:22 +0900 |
|---|---|---|
| committer | Takashi Kokubun <takashikkbn@gmail.com> | 2024-09-30 09:16:44 -0700 |
| commit | af7656869ee714a7124c1c655bc905e456770bd2 (patch) | |
| tree | a961c83a87e1e08eef77644536c0c0851be8d2c2 | |
| parent | 4608ef8d7b0e22d690b73dabc032e9dd43e9a446 (diff) | |
Run just bignum related tests when gmp enabled
| -rw-r--r-- | .github/workflows/compilers.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/compilers.yml b/.github/workflows/compilers.yml index fbe6d5da88..06fba65b4e 100644 --- a/.github/workflows/compilers.yml +++ b/.github/workflows/compilers.yml @@ -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' } } @@ -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: |
