Skip to content

Commit

Permalink
Fix GCC13 build for Ubuntu 22.04 runner
Browse files Browse the repository at this point in the history
  • Loading branch information
claywar committed May 16, 2024
1 parent bff4a57 commit 52ac141
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -262,13 +262,21 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y software-properties-common cmake libmariadb-dev-compat libluajit-5.1-dev libzmq3-dev zlib1g-dev libssl-dev binutils-dev
# Required for 22.04 Image
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo apt-get update -y
sudo apt-get install gcc-13
#- name: Cache 'build' folder
# uses: actions/cache@v3
# with:
# path: build
# key: ${{ runner.os }}-gcc
- name: Configure CMake
run: |
ls -l /usr/bin/gcc*
ls -l /usr/bin/g++*
export CC=/usr/bin/gcc-13
export CXX=/usr/bin/g++-13
mkdir -p build
Expand Down

0 comments on commit 52ac141

Please sign in to comment.