cmark

My personal build of CMark ✏️

Commit
99bb5523b756c43ce7de6ee4606ed89a2d4d41b9
Parent
8ab7c6a73cf3b39a82377af342667f07d451ea2b
Author
John MacFarlane <jgm@berkeley.edu>
Date

CI: test with different shared library configs.

Diffstat

1 file changed, 27 insertions, 1 deletion

Status File Name N° Changes Insertions Deletions
Modified .github/workflows/ci.yml 28 27 1
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
@@ -9,13 +9,16 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
+        shared:
+          - ON
+          - OFF
         compiler:
           - c: 'clang'
             cpp: 'clang++'
           - c: 'gcc'
             cpp: 'g++'
     env:
-       CMAKE_OPTIONS: -DCMARK_SHARED=OFF
+       CMAKE_OPTIONS: -DCMARK_SHARED=${{ matrix.shared }}
        CC: ${{ matrix.compiler.c }}
        CXX: ${{ matrix.compiler.cpp }}
     steps:
@@ -32,6 +35,21 @@ jobs:
   macos:
 
     runs-on: macOS-latest
+    strategy:
+      fail-fast: false
+      matrix:
+        shared:
+          - ON
+          - OFF
+        compiler:
+          - c: 'clang'
+            cpp: 'clang++'
+          - c: 'gcc'
+            cpp: 'g++'
+    env:
+       CMAKE_OPTIONS: -DCMARK_SHARED=${{ matrix.shared }}
+       CC: ${{ matrix.compiler.c }}
+       CXX: ${{ matrix.compiler.cpp }}
 
     steps:
     - uses: actions/checkout@v1
@@ -45,6 +63,14 @@ jobs:
   windows:
 
     runs-on: windows-latest
+    strategy:
+      fail-fast: false
+      matrix:
+        shared:
+          - ON
+          - OFF
+    env:
+       CMAKE_OPTIONS: -DCMARK_SHARED=${{ matrix.shared }}
 
     steps:
     - uses: actions/checkout@v1