Explorar o código

Merge pull request #812 from amai2012/master

Add github action
Lee Thomason %!s(int64=5) %!d(string=hai) anos
pai
achega
6b7effe541
Modificáronse 1 ficheiros con 20 adicións e 0 borrados
  1. 20 0
      .github/workflows/ci-unixish.yml

+ 20 - 0
.github/workflows/ci-unixish.yml

@@ -0,0 +1,20 @@
+name: C/C++ CI Unixish
+
+on: [push, pull_request]
+
+jobs:
+  build:
+    strategy:
+      matrix:
+        os: [ubuntu-latest, macos-latest]
+
+    runs-on: ${{ matrix.os }}
+
+    steps:
+    - uses: actions/checkout@v2
+    - name: make
+      run: make
+    - name: make check
+      run: make check
+    - name: Install
+      run: sudo make install