mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
More general matrix "configure" parameter, add --with-coroutine=pthread
.
This commit is contained in:
parent
42130a64f0
commit
1467328edc
1 changed files with 7 additions and 6 deletions
13
.github/workflows/ubuntu.yml
vendored
13
.github/workflows/ubuntu.yml
vendored
|
@ -4,14 +4,15 @@ jobs:
|
||||||
make:
|
make:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
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:
|
os:
|
||||||
- ubuntu-20.04
|
- ubuntu-20.04
|
||||||
# - ubuntu-18.04
|
# - ubuntu-18.04
|
||||||
debug: ["", "-DRUBY_DEBUG"]
|
configure: ["", "--with-coroutine=pthread", "cppflags=-DRUBY_DEBUG"]
|
||||||
exclude:
|
include:
|
||||||
- test_task: "test-all TESTS=--repeat-count=2"
|
- test_task: "test-all TESTS=--repeat-count=2"
|
||||||
debug: -DRUBY_DEBUG
|
os: ubuntu-20.04
|
||||||
|
configure: ""
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
env:
|
env:
|
||||||
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
|
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
|
||||||
|
@ -43,7 +44,7 @@ jobs:
|
||||||
- run: ./autogen.sh
|
- run: ./autogen.sh
|
||||||
working-directory: src
|
working-directory: src
|
||||||
- name: Run configure
|
- 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 incs
|
||||||
- run: make $JOBS
|
- run: make $JOBS
|
||||||
- run: make leaked-globals
|
- run: make leaked-globals
|
||||||
|
@ -64,7 +65,7 @@ jobs:
|
||||||
payload: |
|
payload: |
|
||||||
{
|
{
|
||||||
"ci": "GitHub Actions",
|
"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 }}",
|
"url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}",
|
||||||
"commit": "${{ github.sha }}",
|
"commit": "${{ github.sha }}",
|
||||||
"branch": "${{ github.ref }}".split('/').reverse()[0]
|
"branch": "${{ github.ref }}".split('/').reverse()[0]
|
||||||
|
|
Loading…
Add table
Reference in a new issue