[GHA] convert matrix to use include

This commit is contained in:
Kris Thielemans 2021-08-02 10:01:27 +01:00
commit fb09a5578a

View file

@ -12,18 +12,28 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
# the agent machine operating systems #SWIGJOBS: ["-j2"]
os: [ubuntu-latest] # other variables to optionally set
SWIGJOBS: ["-j2"] # CC, GCC (used as suffix)
CSTD: [""] # CPP11, CPP14, CPP17
CC: ["gcc"] # CONFIGOPTS
CPP11: ["1"] # SWIGLANG
CPP14: [""] # PY3,VER
CPP17: [""] # SWIG_FEATURES
CONFIGOPTS: [""] include:
SWIGLANG: ["", "python"] - os: ubuntu-latest
VER: [""] CPP11: 1
SWIG_FEATURES: [""] SWIGLANG: ""
- os: ubuntu-latest
CPP11: 1
SWIGLANG: python
- os: ubuntu-latest
CPP11: 1
SWIGLANG: python
PY3: 3
- os: ubuntu-latest
CPP11: 1
SWIGLANG: tcl
# let's run all of them, as opposed to aborting when one fails # let's run all of them, as opposed to aborting when one fails
fail-fast: false fail-fast: false