cmark

My personal build of CMark ✏️

Commit
5c77b675b5957d33de2e6c83481c55e9bbc32902
Parent
b467630d73974200456f472a58bf9dab5eea1be0
Author
John MacFarlane <jgm@berkeley.edu>
Date

Add GitHub actions CI.

Diffstat

1 file changed, 42 insertions, 0 deletions

Status File Name N° Changes Insertions Deletions
Added .github/workflows/ci.yml 42 42 0
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
@@ -0,0 +1,42 @@
+name: CI tests
+
+on: [push, pull_request]
+
+jobs:
+  linux:
+
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v1
+    - name: Build and test
+      env:
+         CMAKE_OPTIONS: -DCMARK_SHARED=OFF
+      run: |
+         mkdir -p build && cd build && cmake $CMAKE_OPTIONS ..
+         make test
+         make leakcheck
+
+  macos:
+
+    runs-on: macOS-latest
+
+    steps:
+    - uses: actions/checkout@v1
+    - name: Build and test
+      env:
+         CMAKE_OPTIONS: -DCMARK_SHARED=OFF
+      run: |
+         mkdir -p build && cd build && cmake $CMAKE_OPTIONS ..
+         make test
+         make leakcheck
+
+  windows:
+
+    runs-on: windows-latest
+
+    steps:
+    - uses: actions/checkout@v1
+    - name: Build and test
+      run: |
+        nmake test
+