mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-24 09:31:34 +08:00
Update .travis.yml
This commit is contained in:
parent
ddaa61ca9a
commit
9ce9804a88
24
.travis.yml
24
.travis.yml
@ -29,6 +29,14 @@ addons: &gcc9
|
||||
- g++-9
|
||||
sources:
|
||||
- ubuntu-toolchain-r-test
|
||||
|
||||
# gcc 11.0
|
||||
addons: &gcc11
|
||||
apt:
|
||||
packages:
|
||||
- g++-11
|
||||
sources:
|
||||
- ubuntu-toolchain-r-test
|
||||
|
||||
|
||||
# Clang 3.5
|
||||
@ -74,11 +82,17 @@ matrix:
|
||||
os: linux
|
||||
addons: *gcc7
|
||||
|
||||
# Test gcc-9: C++17, Build=Release
|
||||
# Test gcc-9: C++17, Build=Release
|
||||
- env: GCC_VERSION=9 BUILD_TYPE=Release CPP=17
|
||||
os: linux
|
||||
addons: *gcc9
|
||||
|
||||
# Test gcc-11.0: C++20, Build=Debug
|
||||
- env: GCC_VERSION=12 BUILD_TYPE=Debug CPP=20 ASAN=Off
|
||||
os: linux
|
||||
dist: bionic
|
||||
addons: *gcc11
|
||||
|
||||
# Test clang-3.5: C++11, Build=Release
|
||||
- env: CLANG_VERSION=3.5 BUILD_TYPE=Release CPP=11
|
||||
os: linux
|
||||
@ -106,14 +120,8 @@ matrix:
|
||||
os: linux
|
||||
dist: bionic
|
||||
addons: *clang12
|
||||
|
||||
# Test clang-12.0: C++20, Build=Debug
|
||||
- env: CLANG_VERSION=12 BUILD_TYPE=Debug CPP=20 ASAN=Off
|
||||
os: linux
|
||||
dist: bionic
|
||||
addons: *clang12
|
||||
|
||||
|
||||
|
||||
before_script:
|
||||
- if [ -n "$GCC_VERSION" ]; then export CXX="g++-${GCC_VERSION}" CC="gcc-${GCC_VERSION}"; fi
|
||||
- if [ -n "$CLANG_VERSION" ]; then export CXX="clang++-${CLANG_VERSION}" CC="clang-${CLANG_VERSION}"; fi
|
||||
|
Loading…
Reference in New Issue
Block a user