Skip to content

Commit 90239b0

Browse files
committed
GCC 11 and Clang 12 CI build added.
1 parent b1b6415 commit 90239b0

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ jobs:
88
strategy:
99
matrix:
1010
build_config:
11+
- { cc: gcc, cxx: g++, version: 11 }
1112
- { cc: gcc, cxx: g++, version: 10 }
1213
- { cc: gcc, cxx: g++, version: 9 }
1314
- { cc: gcc, cxx: g++, version: 8 }
1415
- { cc: gcc, cxx: g++, version: 7 }
16+
- { cc: clang, cxx: clang++, version: 12 }
1517
- { cc: clang, cxx: clang++, version: 11 }
1618
- { cc: clang, cxx: clang++, version: 10 }
1719
- { cc: clang, cxx: clang++, version: 9 }
@@ -23,11 +25,16 @@ jobs:
2325
name: "${{ matrix.build_config.cc }}-${{ matrix.build_config.version }} ${{ matrix.build_config.args }}"
2426
steps:
2527
- uses: actions/checkout@master
26-
- name: Setup Compiler
28+
- name: Setup Clang
2729
if: matrix.build_config.cc == 'clang'
2830
run: |
2931
sudo scripts/ci_setup_clang.sh ${{ matrix.build_config.version }}
3032
echo "CXXFLAGS=-stdlib=libc++" >> $GITHUB_ENV
33+
- name: Setup GCC
34+
if: matrix.build_config.cc == 'gcc'
35+
run: |
36+
sudo apt-get update
37+
sudo apt-get install -y gcc-${{ matrix.build_config.version }} g++-${{ matrix.build_config.version }}
3138
- name: Setup
3239
run: sudo apt-get install -y valgrind
3340
- name: Build

0 commit comments

Comments
 (0)