Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/cxong/tinydir.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCong <congusbongus@gmail.com>2021-11-17 05:06:17 +0300
committerGitHub <noreply@github.com>2021-11-17 05:06:17 +0300
commit99f75ca4dfa36a9c7d4f971da0e44ae3f30e202f (patch)
tree131993dc6478dfa59fdeea4800459881ed44afa2
parentbaf1c6f64b6b1852702a5c8aeecfad8fec476ed2 (diff)
CI with multiple versions of GCC
-rw-r--r--.github/workflows/cmake.yml10
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: