CI: updated GCC workflow

This commit is contained in:
Ovahlord committed 2025-03-10 20:07:11 +01:00
1 parent 291741c440
commit 73e26ebffe
1 file changed
+4 -3
+4 -3
View File
@@ -6,13 +6,13 @@ on:
jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Dependencies
run: |
sudo apt-get update && sudo apt-get install -yq libboost-all-dev g++-10
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /usr/bin/g++ g++ /usr/bin/g++-10
sudo apt-get update && sudo apt-get install -yq libboost-all-dev g++-11
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 100 --slave /usr/bin/g++ g++ /usr/bin/g++-11
- name: Setup
run: |
mkdir bin
@@ -30,5 +30,6 @@ jobs:
- name: Check executables
run: |
cd bin/check_install/bin
./authserver --version
./bnetserver --version
./worldserver --version