Skip to content

Commit

Permalink
CI with multiple versions of GCC
Browse files Browse the repository at this point in the history
  • Loading branch information
cxong authored Nov 17, 2021
1 parent baf1c6f commit 99f75ca
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,19 @@ jobs:
CC: clang
- os: ubuntu-latest
CC: gcc
gcc_version: 11
- os: ubuntu-latest
CC: gcc
gcc_version: latest

steps:
- uses: actions/checkout@v2

- name: Install GCC
if: matrix.CC == 'gcc'
uses: egor-tensin/setup-gcc@v1
with:
version: ${{ matrix.gcc_version }}

- name: Build
env:
Expand Down

0 comments on commit 99f75ca

Please sign in to comment.