Skip to content

Commit b5f8a00

Browse files
committed
Install gcc 12 in the github workflow for the test
1 parent cfe4ff7 commit b5f8a00

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/runtest.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ jobs:
4040
python -m pip install --upgrade pip setuptools wheel
4141
python -m pip install -r requirements-dev.txt
4242
# sudo apt-get update
43+
sudo apt-get install gcc-12 g++-12
44+
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 100
45+
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 100
4346
4447
- name: runtest ${{ matrix.os }}
4548
run: |

0 commit comments

Comments
 (0)