Przeglądaj źródła

Create ccpp.yml

Kim Kulling 5 lat temu
rodzic
commit
4b1aaff0dc
1 zmienionych plików z 22 dodań i 0 usunięć
  1. 22 0
      .github/workflows/ccpp.yml

+ 22 - 0
.github/workflows/ccpp.yml

@@ -0,0 +1,22 @@
+name: C/C++ CI
+
+on:
+  push:
+    branches: [ master ]
+  pull_request:
+    branches: [ master ]
+
+jobs:
+  build-ubuntu:
+
+    runs-on: ubuntu-latest
+    
+    steps:
+    - uses: actions/checkout@v1
+    - name: configure
+      run: cmake CMakeLists.txt
+    - name: build
+      run: cmake --build .
+    - name: test
+      run: cd bin && ./unit
+