diff options
author | sfan5 <sfan5@live.de> | 2021-12-14 01:14:12 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2022-01-15 17:44:22 +0100 |
commit | 76e97e85a08ce71fea7654c729787c6c4409e0d8 (patch) | |
tree | eae80b9b6d5b7d3326280030a53d7ec5a3f8982e | |
parent | a90b2a4d4f38e92b4016d9ac86e001398be729e7 (diff) | |
download | minetest-76e97e85a08ce71fea7654c729787c6c4409e0d8.tar.gz minetest-76e97e85a08ce71fea7654c729787c6c4409e0d8.tar.bz2 minetest-76e97e85a08ce71fea7654c729787c6c4409e0d8.zip |
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
-rw-r--r-- | .github/workflows/build.yml | 36 |
1 files 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 |