diff options
author | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2021-06-30 14:11:12 +1200 |
---|---|---|
committer | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2021-07-01 11:23:03 +1200 |
commit | 1467328edc877ada0361e89f55158d2ed1bbb075 (patch) | |
tree | f2383d238998f2b40da44933427a0b260885e3e8 /.github | |
parent | 42130a64f02294dc8025af3a51bda518c67ab33d (diff) |
More general matrix "configure" parameter, add `--with-coroutine=pthread`.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ubuntu.yml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 34dffa2a91..d0d98497b8 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -4,14 +4,15 @@ jobs: make: strategy: matrix: - test_task: [ "check", "test-bundler-parallel", "test-bundled-gems", "test-all TESTS=--repeat-count=2" ] + test_task: ["check", "test-bundler-parallel", "test-bundled-gems"] os: - ubuntu-20.04 # - ubuntu-18.04 - debug: ["", "-DRUBY_DEBUG"] - exclude: + configure: ["", "--with-coroutine=pthread", "cppflags=-DRUBY_DEBUG"] + include: - test_task: "test-all TESTS=--repeat-count=2" - debug: -DRUBY_DEBUG + os: ubuntu-20.04 + configure: "" fail-fast: false env: GITPULLOPTIONS: --no-tags origin ${{github.ref}} @@ -43,7 +44,7 @@ jobs: - run: ./autogen.sh working-directory: src - name: Run configure - run: ../src/configure -C --disable-install-doc cppflags=${{ matrix.debug }} + run: ../src/configure -C --disable-install-doc ${{ matrix.configure }} - run: make $JOBS incs - run: make $JOBS - run: make leaked-globals @@ -64,7 +65,7 @@ jobs: payload: | { "ci": "GitHub Actions", - "env": "${{ matrix.os }} / ${{ matrix.test_task }}${{ matrix.debug }}", + "env": "${{ matrix.os }} / ${{ matrix.test_task }}${{ matrix.configure }}", "url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}", "commit": "${{ github.sha }}", "branch": "${{ github.ref }}".split('/').reverse()[0] |