Skip to content

Commit ac09efe

Browse files
committed
Use older version of gcc for release builds
1 parent 4aa5236 commit ac09efe

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/scripts/build-linux.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ cd vcpkg
77
cd ..
88
export VCPKG_ROOT=$(pwd)/vcpkg
99
export PATH=${VCPKG_ROOT}:${PATH}
10+
export CC=gcc-11
11+
export CXX=g++-11
1012

1113
# Create build directory and configure
1214
mkdir -p build

.github/workflows/upload-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
- name: Install build tools
5757
run: |
5858
sudo apt-get update
59-
sudo apt-get install -y build-essential cmake ninja-build
59+
sudo apt-get install -y build-essential cmake ninja-build gcc-11 g++-11
6060
6161
- name: Run build script
6262
run: |

0 commit comments

Comments
 (0)