diff options
author | Cong <congusbongus@gmail.com> | 2021-11-17 05:06:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-17 05:06:17 +0300 |
commit | 99f75ca4dfa36a9c7d4f971da0e44ae3f30e202f (patch) | |
tree | 131993dc6478dfa59fdeea4800459881ed44afa2 | |
parent | baf1c6f64b6b1852702a5c8aeecfad8fec476ed2 (diff) |
CI with multiple versions of GCC
-rw-r--r-- | .github/workflows/cmake.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index d4204de..a666bf4 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -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: |