summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml17
1 files changed, 7 insertions, 10 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5d2ddbedd..562023f8e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -15,7 +15,8 @@ on:
jobs:
build:
- runs-on: ${{ matrix.os }}
+ runs-on: ${{ matrix.os || 'ubuntu-20.04' }}
+
strategy:
matrix:
#SWIGJOBS: ["-j2"]
@@ -27,18 +28,14 @@ jobs:
# PY3,VER
# SWIG_FEATURES
include:
- - os: ubuntu-latest
- CPP11: 1
+ - CPP11: 1
SWIGLANG: ""
- - os: ubuntu-latest
- CPP11: 1
+ - CPP11: 1
SWIGLANG: python
- - os: ubuntu-latest
- CPP11: 1
+ - CPP11: 1
SWIGLANG: python
PY3: 3
- - os: ubuntu-latest
- CPP11: 1
+ - CPP11: 1
SWIGLANG: tcl
# let's run all of them, as opposed to aborting when one fails
fail-fast: false
@@ -50,7 +47,7 @@ jobs:
- name: ccache
uses: hendrikmuhs/ccache-action@v1
with:
- key: ${{ matrix.os }}-${{ matrix.SWIGLANG }}
+ key: ${{ matrix.os || 'ubuntu-20.04' }}-${{ matrix.SWIGLANG }}
- name: configure
shell: bash
env: