GHA: Test experimental languages - mzscheme and ocaml
These are allowed to fail and they won't fail the overall build (like they did on Travis). Implemented via the continue-on-error flag that Github Actions provides.
This commit is contained in:
parent
ac9f819f6e
commit
07f18bef36
1 changed files with 11 additions and 2 deletions
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
|
|
@ -16,11 +16,15 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
|
# When continue-on-error is true for an individual build, that build can fail (it'll show red),
|
||||||
|
# but it won't fail the overall build
|
||||||
|
continue-on-error: ${{ matrix.continue-on-error || false }}
|
||||||
|
|
||||||
runs-on: ${{ matrix.os || 'ubuntu-20.04' }}
|
runs-on: ${{ matrix.os || 'ubuntu-20.04' }}
|
||||||
|
|
||||||
# By default, the name of the build is the language used and SWIG options, but matrix entries
|
# By default, the name of the build is the language used and SWIG options, but matrix entries
|
||||||
# can define the additional "desc" field with any additional information to include in the name.
|
# can define the additional "desc" field with any additional information to include in the name.
|
||||||
name: ${{ matrix.SWIGLANG || 'none' }}${{ matrix.PY3 }} ${{ matrix.ENGINE}} ${{ matrix.VER }} ${{ matrix.SWIG_FEATURES }} ${{ (matrix.compiler || 'gcc') }}${{ matrix.GCC }} ${{ matrix.CPPSTD }} ${{ matrix.CSTD }} ${{ matrix.desc }}
|
name: ${{ matrix.SWIGLANG || 'none' }}${{ matrix.PY3 }} ${{ matrix.ENGINE}} ${{ matrix.VER }} ${{ matrix.SWIG_FEATURES }} ${{ (matrix.compiler || 'gcc') }}${{ matrix.GCC }} ${{ matrix.CPPSTD }} ${{ matrix.CSTD }} ${{ matrix.desc }} ${{ matrix.continue-on-error && '(can fail)' }}
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
@ -280,7 +284,12 @@ jobs:
|
||||||
- SWIGLANG: tcl
|
- SWIGLANG: tcl
|
||||||
CPPSTD: c++17
|
CPPSTD: c++17
|
||||||
GCC: 11
|
GCC: 11
|
||||||
# let's run all of them, as opposed to aborting when one fails
|
# Experimental languages (these are allowed to fail)
|
||||||
|
- SWIGLANG: mzscheme
|
||||||
|
continue-on-error: true
|
||||||
|
- SWIGLANG: ocaml
|
||||||
|
continue-on-error: true
|
||||||
|
# Run all of them, as opposed to aborting when one fails
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue