From 04e24a7ca41718902f784b004db4c1ba49eeed8d Mon Sep 17 00:00:00 2001 From: drewcassidy Date: Sat, 13 Feb 2021 20:15:05 -0800 Subject: [PATCH] use Clang 10 on linux --- .github/workflows/cmake.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index b38ca4e..272e75d 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -21,8 +21,8 @@ jobs: cc: "clang" cxx: "clang++" - os: Ubuntu-20.04 - cc: "clang-9" - cxx: "clang++-9" + cc: "clang-10" + cxx: "clang++-10" - os: Ubuntu-20.04 cc: "gcc-10" cxx: "g++-10" @@ -47,7 +47,7 @@ jobs: run: cmake -E make_directory ${{github.workspace}}/build - name: print libc++ version - run: echo "#include \nint main () {}" | clang-9 -E --std=c++2a -stdlib=libc++ -x c++ -dM - | grep _LIBCPP_VERSION + run: echo "#include \nint main () {}" | clang-10 -E --std=c++2a -stdlib=libc++ -x c++ -dM - | grep _LIBCPP_VERSION - name: Configure CMake # Use a bash shell so we can use the same syntax for environment variable