Skip to content

Commit 9454276

Browse files
committed
use newer compiler, g++-10 and clang
1 parent 285cff6 commit 9454276

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/cmake.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ env:
66
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
77
BUILD_TYPE: Release
88

9+
strategy:
10+
matrix:
11+
compiler: [g++-10, clang]
12+
913
jobs:
1014
build:
1115
# The CMake configure and build commands are platform agnostic and should work equally
@@ -27,6 +31,8 @@ jobs:
2731
# access regardless of the host operating system
2832
shell: bash
2933
working-directory: ${{runner.workspace}}/build
34+
env:
35+
CC: ${{ matrix.compiler }}
3036
# Note the current convention is to use the -S and -B options here to specify source
3137
# and build directories, but this is only available with CMake 3.13 and higher.
3238
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12

0 commit comments

Comments
 (0)