diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b80888d..f10fa1b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,11 +13,20 @@ jobs: strategy: matrix: include: + - os: ubuntu-latest + compiler: g++-7 + install: g++-7 - os: ubuntu-latest compiler: g++-9 - os: ubuntu-latest compiler: g++-10 extra_build_flags: -DENABLE_COVERAGE:BOOL=ON # coverage build + - os: ubuntu-latest + compiler: g++-11 + install: g++-11 + - os: ubuntu-latest + compiler: clang++-7 + install: clang-7 - os: ubuntu-latest compiler: clang++-10 - os: ubuntu-latest @@ -41,6 +50,12 @@ jobs: with: fetch-depth: 2 # Codecov requests >1 + - name: Install compiler + if: ${{matrix.install}} + run: | + sudo apt-get update + sudo apt-get install ${{matrix.install}} + - name: Determine number of cpus on Linux if: startsWith(matrix.os, 'ubuntu') run: echo "num_cpus=$(nproc)" >> $GITHUB_ENV # TODO use set-output instead