From 76e97e85a08ce71fea7654c729787c6c4409e0d8 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Tue, 14 Dec 2021 01:14:12 +0100 Subject: [PATCH] Update compiler versions in CI downgrade gcc 6 -> 5 to better match our minimum upgrade gcc and clang by moving two images to ubuntu 20.04 --- .github/workflows/build.yml | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b1ba78ed0..79f9af5c7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,49 +30,49 @@ on: - '.dockerignore' jobs: - # This is our minor gcc compiler - gcc_6: + # Older gcc version (should be close to our minimum supported version) + gcc_5: runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v2 - name: Install deps run: | source ./util/ci/common.sh - install_linux_deps g++-6 + install_linux_deps g++-5 - name: Build run: | ./util/ci/build.sh env: - CC: gcc-6 - CXX: g++-6 + CC: gcc-5 + CXX: g++-5 - name: Test run: | ./bin/minetest --run-unittests - # This is the current gcc compiler (available in bionic) - gcc_8: - runs-on: ubuntu-18.04 + # Current gcc version + gcc_10: + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - name: Install deps run: | source ./util/ci/common.sh - install_linux_deps g++-8 + install_linux_deps g++-10 - name: Build run: | ./util/ci/build.sh env: - CC: gcc-8 - CXX: g++-8 + CC: gcc-10 + CXX: g++-10 - name: Test run: | ./bin/minetest --run-unittests - # This is our minor clang compiler + # Older clang version (should be close to our minimum supported version) clang_3_9: runs-on: ubuntu-18.04 steps: @@ -97,22 +97,22 @@ jobs: run: | ./util/test_multiplayer.sh - # This is the current clang version - clang_9: - runs-on: ubuntu-18.04 + # Current clang version + clang_10: + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - name: Install deps run: | source ./util/ci/common.sh - install_linux_deps clang-9 valgrind libluajit-5.1-dev + install_linux_deps clang-10 valgrind libluajit-5.1-dev - name: Build run: | ./util/ci/build.sh env: - CC: clang-9 - CXX: clang++-9 + CC: clang-10 + CXX: clang++-10 CMAKE_FLAGS: "-DREQUIRE_LUAJIT=1" - name: Test