Skip to content

Commit ffc8609

Browse files
committed
Downgrade gcc
1 parent 07189ca commit ffc8609

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ jobs:
1616
os: [ubuntu-latest]
1717
python-version: ["3.9", "3.10", "3.11"]
1818
steps:
19+
- name: Downgrade GCC to version 12
20+
run: |
21+
sudo apt-get install -y gcc-12 g++-12
22+
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 100
23+
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 100
24+
gcc --version
1925
- name: Checkout
2026
uses: actions/checkout@v4
2127
with:

0 commit comments

Comments
 (0)