瀏覽代碼

GitHub workflows configuration

Chris Morgan 3 年之前
父節點
當前提交
69b3be605c
共有 1 個文件被更改,包括 18 次插入0 次删除
  1. 18 0
      .github/workflows/c-cpp.yml

+ 18 - 0
.github/workflows/c-cpp.yml

@@ -0,0 +1,18 @@
+name: C/C++ CI
+
+on: [push, pull_request]
+
+jobs:
+  build:
+
+    runs-on: ubuntu-latest
+
+    steps:
+    - uses: actions/checkout@v3
+    - name: Install dependencies
+      run: sudo apt-get install -y clang-tools check
+    - name: make
+      run: make
+    - name: make test
+      run: make test
+