mirror of
https://github.com/ETLCPP/etl.git
synced 2026-04-30 19:09:10 +08:00
Replace GCC with Clang in clang Github CI
This commit is contained in:
parent
5468eb659c
commit
f75b98aa7d
9
.github/workflows/clang.yml
vendored
9
.github/workflows/clang.yml
vendored
@ -42,9 +42,15 @@ jobs:
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y "clang-9" "lldb-9" "lld-9" "clang-format-9"
|
||||
export CC=clang-9
|
||||
export CXX=clang++-9
|
||||
git fetch --tags
|
||||
cmake -DBUILD_TESTS=ON -DNO_STL=ON -DETL_USE_TYPE_TRAITS_BUILTINS=OFF -DETL_USER_DEFINED_TYPE_TRAITS=OFF -DETL_FORCE_TEST_CPP03=OFF ./
|
||||
gcc --version
|
||||
cmake -D BUILD_TESTS=ON -DNO_STL=ON -DETL_USE_TYPE_TRAITS_BUILTINS=OFF -DETL_USER_DEFINED_TYPE_TRAITS=OFF -DETL_FORCE_TEST_CPP03=OFF ./
|
||||
clang --version
|
||||
make
|
||||
|
||||
- name: Run tests
|
||||
@ -138,4 +144,5 @@ jobs:
|
||||
make
|
||||
|
||||
- name: Run tests
|
||||
run: ./test/etl_tests
|
||||
run: ./test/etl_tests
|
||||
No newline at end of file
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user