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
This commit is contained in:
parent
a90b2a4d4f
commit
76e97e85a0
36
.github/workflows/build.yml
vendored
36
.github/workflows/build.yml
vendored
@ -30,49 +30,49 @@ on:
|
|||||||
- '.dockerignore'
|
- '.dockerignore'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# This is our minor gcc compiler
|
# Older gcc version (should be close to our minimum supported version)
|
||||||
gcc_6:
|
gcc_5:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
run: |
|
run: |
|
||||||
source ./util/ci/common.sh
|
source ./util/ci/common.sh
|
||||||
install_linux_deps g++-6
|
install_linux_deps g++-5
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
./util/ci/build.sh
|
./util/ci/build.sh
|
||||||
env:
|
env:
|
||||||
CC: gcc-6
|
CC: gcc-5
|
||||||
CXX: g++-6
|
CXX: g++-5
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: |
|
run: |
|
||||||
./bin/minetest --run-unittests
|
./bin/minetest --run-unittests
|
||||||
|
|
||||||
# This is the current gcc compiler (available in bionic)
|
# Current gcc version
|
||||||
gcc_8:
|
gcc_10:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
run: |
|
run: |
|
||||||
source ./util/ci/common.sh
|
source ./util/ci/common.sh
|
||||||
install_linux_deps g++-8
|
install_linux_deps g++-10
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
./util/ci/build.sh
|
./util/ci/build.sh
|
||||||
env:
|
env:
|
||||||
CC: gcc-8
|
CC: gcc-10
|
||||||
CXX: g++-8
|
CXX: g++-10
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: |
|
run: |
|
||||||
./bin/minetest --run-unittests
|
./bin/minetest --run-unittests
|
||||||
|
|
||||||
# This is our minor clang compiler
|
# Older clang version (should be close to our minimum supported version)
|
||||||
clang_3_9:
|
clang_3_9:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
steps:
|
steps:
|
||||||
@ -97,22 +97,22 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
./util/test_multiplayer.sh
|
./util/test_multiplayer.sh
|
||||||
|
|
||||||
# This is the current clang version
|
# Current clang version
|
||||||
clang_9:
|
clang_10:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
run: |
|
run: |
|
||||||
source ./util/ci/common.sh
|
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
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
./util/ci/build.sh
|
./util/ci/build.sh
|
||||||
env:
|
env:
|
||||||
CC: clang-9
|
CC: clang-10
|
||||||
CXX: clang++-9
|
CXX: clang++-10
|
||||||
CMAKE_FLAGS: "-DREQUIRE_LUAJIT=1"
|
CMAKE_FLAGS: "-DREQUIRE_LUAJIT=1"
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
|
Loading…
Reference in New Issue
Block a user