🎨 [CI] Specify the exact version of clang to use

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.
This commit is contained in:
Jonathan Gopel 2020-11-07 11:41:43 -07:00
parent a4fae96c96
commit 031246a1cc

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