Replace GCC with Clang in clang Github CI

This commit is contained in:
John Wellbelove 2022-05-04 17:08:10 +01:00
parent 5468eb659c
commit f75b98aa7d

View File

@ -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