summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-05-13 09:14:13 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2020-05-13 09:14:13 -0700
commit8ab7c6a73cf3b39a82377af342667f07d451ea2b (patch)
treed7063e14579f77695acb9cad2d8dc557b1dc7fff /.github/workflows
parent62539423f8ab56c98b9c487d12731827dde75c69 (diff)
CI: try setting CPP in matrix.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml13
1 files changed, 8 insertions, 5 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 630f182..4b5d1e0 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -10,17 +10,20 @@ jobs:
fail-fast: false
matrix:
compiler:
- - 'clang'
- - 'gcc'
+ - c: 'clang'
+ cpp: 'clang++'
+ - c: 'gcc'
+ cpp: 'g++'
+ env:
+ CMAKE_OPTIONS: -DCMARK_SHARED=OFF
+ CC: ${{ matrix.compiler.c }}
+ CXX: ${{ matrix.compiler.cpp }}
steps:
- uses: actions/checkout@v1
- name: Install valgrind
run: |
sudo apt install -y valgrind
- name: Build and test
- env:
- CMAKE_OPTIONS: -DCMARK_SHARED=OFF
- CC: ${{ matrix.compiler }}
run: |
make
make test