diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 860aefc..1fad68d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,6 +31,15 @@ jobs: - name: Run vcpkg uses: lukka/run-vcpkg@v10 + - name: Update gcc + run: | + sudo apt update + sudo apt install gcc-12 g++-12 + echo "CC=gcc-12" >> $GITHUB_ENV + echo "CXX=g++-12" >> $GITHUB_ENV + shell: bash + if: matrix.platform == 'ubuntu-latest' + - name: Set llvm (Ubuntu) run: | wget https://apt.llvm.org/llvm.sh