From af7656869ee714a7124c1c655bc905e456770bd2 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 9 Sep 2024 17:25:22 +0900 Subject: Run just bignum related tests when gmp enabled --- .github/workflows/compilers.yml | 6 ++++-- 1 file 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: -- cgit v1.2.3