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 a5b7b6d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,29 @@ 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
compiler: clang++-11
- os: ubuntu-latest
compiler: clang++-12
- os: ubuntu-22.04 # beta, not latest ATTOW
compiler: clang++-13
install: clang-13
- os: macos-latest
compiler: g++-9
- os: macos-latest
Expand All @@ -41,6 +53,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 a5b7b6d

Please # to comment.