mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
Bump minimum clang version to 7.0.1
std::variant is broken in clang < 7.0.1 with libstdc++ see: https://github.com/llvm/llvm-project/issues/32569
This commit is contained in:
parent
b0d5cedeb6
commit
591e45657f
2 changed files with 5 additions and 5 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
@ -76,21 +76,21 @@ jobs:
|
|||
./bin/minetest --run-unittests
|
||||
|
||||
# Older clang version (should be close to our minimum supported version)
|
||||
clang_6_0:
|
||||
clang_7:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install deps
|
||||
run: |
|
||||
source ./util/ci/common.sh
|
||||
install_linux_deps clang-6.0 valgrind
|
||||
install_linux_deps clang-7 valgrind
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
./util/ci/build.sh
|
||||
env:
|
||||
CC: clang-6.0
|
||||
CXX: clang++-6.0
|
||||
CC: clang-7
|
||||
CXX: clang++-7
|
||||
|
||||
- name: Unittest
|
||||
run: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue