Skip to content

Commit 84b1746

Browse files
committed
Setup GCC 14 on github ci
1 parent fb59259 commit 84b1746

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,17 @@ jobs:
5757
cd ${{ github.workspace }}/vcpkg
5858
./bootstrap-vcpkg.sh
5959
60+
- name: Setup GCC 14 (Linux)
61+
if: runner.os == 'Linux'
62+
run: |
63+
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
64+
sudo apt-get update
65+
sudo apt-get install -y gcc-14 g++-14
66+
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 100
67+
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-14 100
68+
gcc --version
69+
g++ --version
70+
6071
- name: Install vcpkg dependencies
6172
env:
6273
VCPKG_DEFAULT_TRIPLET: ${{ matrix.triplet }}

0 commit comments

Comments
 (0)