Skip to content

Commit 71b639a

Browse files
committed
install gcc-11 where necessary in ci
1 parent fc56511 commit 71b639a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,11 @@ jobs:
156156
- uses: actions/checkout@v4
157157
with:
158158
submodules: true
159+
- name: Install g++-11 (Ubuntu)
160+
if: matrix.os == 'ubuntu-latest'
161+
run: |
162+
sudo apt-get update -y -qq
163+
sudo apt-get install -y -qq gcc-11 g++-11
159164
- run: CC=gcc-11 CXX=g++-11 cmake .
160165
if: matrix.os == 'ubuntu-latest'
161166
- run: cmake .
@@ -172,6 +177,11 @@ jobs:
172177
- uses: actions/checkout@v4
173178
with:
174179
submodules: true
180+
- name: Install g++-11 (Ubuntu)
181+
if: matrix.os == 'ubuntu-latest'
182+
run: |
183+
sudo apt-get update -y -qq
184+
sudo apt-get install -y -qq gcc-11 g++-11
175185
- run: CC=gcc-11 CXX=g++-11 cmake .
176186
if: matrix.os == 'ubuntu-latest'
177187
- run: cmake .

0 commit comments

Comments
 (0)