forked from Mirrorlandia_minetest/minetest
Bump minimum gcc and clang versions
This commit is contained in:
parent
ba80d1ce1f
commit
28766d1879
22
.github/workflows/build.yml
vendored
22
.github/workflows/build.yml
vendored
@ -34,22 +34,21 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# Older gcc version (should be close to our minimum supported version)
|
# Older gcc version (should be close to our minimum supported version)
|
||||||
gcc_5:
|
gcc_7:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-20.04
|
||||||
if: "false" # FIXME
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
run: |
|
run: |
|
||||||
source ./util/ci/common.sh
|
source ./util/ci/common.sh
|
||||||
install_linux_deps g++-5
|
install_linux_deps g++-7
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
./util/ci/build.sh
|
./util/ci/build.sh
|
||||||
env:
|
env:
|
||||||
CC: gcc-5
|
CC: gcc-7
|
||||||
CXX: g++-5
|
CXX: g++-7
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: |
|
run: |
|
||||||
@ -77,22 +76,21 @@ jobs:
|
|||||||
./bin/minetest --run-unittests
|
./bin/minetest --run-unittests
|
||||||
|
|
||||||
# Older clang version (should be close to our minimum supported version)
|
# Older clang version (should be close to our minimum supported version)
|
||||||
clang_3_9:
|
clang_6_0:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-20.04
|
||||||
if: "false" # FIXME
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
run: |
|
run: |
|
||||||
source ./util/ci/common.sh
|
source ./util/ci/common.sh
|
||||||
install_linux_deps clang-3.9 valgrind
|
install_linux_deps clang-6.0 valgrind
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
./util/ci/build.sh
|
./util/ci/build.sh
|
||||||
env:
|
env:
|
||||||
CC: clang-3.9
|
CC: clang-6.0
|
||||||
CXX: clang++-3.9
|
CXX: clang++-6.0
|
||||||
|
|
||||||
- name: Unittest
|
- name: Unittest
|
||||||
run: |
|
run: |
|
||||||
|
@ -13,8 +13,8 @@ set(PROJECT_NAME_CAPITALIZED "Minetest")
|
|||||||
|
|
||||||
set(CMAKE_CXX_STANDARD 14)
|
set(CMAKE_CXX_STANDARD 14)
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
|
set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
|
||||||
set(GCC_MINIMUM_VERSION "5.1")
|
set(GCC_MINIMUM_VERSION "7.5")
|
||||||
set(CLANG_MINIMUM_VERSION "3.5")
|
set(CLANG_MINIMUM_VERSION "6.0")
|
||||||
|
|
||||||
# You should not need to edit these manually, use util/bump_version.sh
|
# You should not need to edit these manually, use util/bump_version.sh
|
||||||
set(VERSION_MAJOR 5)
|
set(VERSION_MAJOR 5)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
| Dependency | Version | Commentary |
|
| Dependency | Version | Commentary |
|
||||||
|------------|---------|------------|
|
|------------|---------|------------|
|
||||||
| GCC | 5.1+ | or Clang 3.5+ |
|
| GCC | 7.5+ | or Clang 6.0+ |
|
||||||
| CMake | 3.5+ | |
|
| CMake | 3.5+ | |
|
||||||
| IrrlichtMt | - | Custom version of Irrlicht, see https://github.com/minetest/irrlicht |
|
| IrrlichtMt | - | Custom version of Irrlicht, see https://github.com/minetest/irrlicht |
|
||||||
| Freetype | 2.0+ | |
|
| Freetype | 2.0+ | |
|
||||||
|
Loading…
Reference in New Issue
Block a user