cmark

My personal build of CMark ✏️

Commit
8ab7c6a73cf3b39a82377af342667f07d451ea2b
Parent
62539423f8ab56c98b9c487d12731827dde75c69
Author
John MacFarlane <jgm@berkeley.edu>
Date

CI: try setting CPP in matrix.

Diffstat

1 file changed, 8 insertions, 5 deletions

Status File Name N° Changes Insertions Deletions
Modified .github/workflows/ci.yml 13 8 5
diff --git 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