Skip to content

Commit

Permalink
[gha] Drop a few compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
ricab committed Jul 24, 2022
1 parent 65e6e02 commit 3b9ea98
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 3b9ea98

Please # to comment.