🎨 [CI] Specify the exact version of clang to use (#1991)

Problem:
- The version of clang to use is specified only as `clang++`. This is
  inconsistent with the specifications for gcc and exposed to unexpected
  failure if the default changes.

Solution:
- Specify the exact version of clang to use. I chose `clang++-9` as that
  is the version that `clang++` is currently resolving to.

Co-authored-by: Jonathan Gopel <jgopel@quantlab.com>
This commit is contained in:
Jonathan Gopel 2020-11-08 06:18:24 -07:00 committed by GitHub
parent 701ed6c874
commit b3ab0bc7e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
strategy: strategy:
matrix: matrix:
cxx: [g++-4.8, g++-8, g++-10, clang++] cxx: [g++-4.8, g++-8, g++-10, clang++-9]
build_type: [Debug, Release] build_type: [Debug, Release]
include: include:
- cxx: clang++ - cxx: clang++-9
build_type: Debug build_type: Debug
fuzz: -DFMT_FUZZ=ON -DFMT_FUZZ_LINKMAIN=ON fuzz: -DFMT_FUZZ=ON -DFMT_FUZZ_LINKMAIN=ON
- cxx: g++-4.8 - cxx: g++-4.8