From fb09a5578a3b30abcdfd388610d9dedb614eb969 Mon Sep 17 00:00:00 2001 From: Kris Thielemans Date: Mon, 2 Aug 2021 10:01:27 +0100 Subject: [PATCH] [GHA] convert matrix to use include --- .github/workflows/test.yml | 34 ++++++++++++++++++++++------------ 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ffa3736f5..0e645cafd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,18 +12,28 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - # the agent machine operating systems - os: [ubuntu-latest] - SWIGJOBS: ["-j2"] - CSTD: [""] - CC: ["gcc"] - CPP11: ["1"] - CPP14: [""] - CPP17: [""] - CONFIGOPTS: [""] - SWIGLANG: ["", "python"] - VER: [""] - SWIG_FEATURES: [""] + #SWIGJOBS: ["-j2"] + # other variables to optionally set + # CC, GCC (used as suffix) + # CPP11, CPP14, CPP17 + # CONFIGOPTS + # SWIGLANG + # PY3,VER + # SWIG_FEATURES + include: + - os: ubuntu-latest + CPP11: 1 + 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 fail-fast: false