aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/c-cpp.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/c-cpp.yml')
-rw-r--r--.github/workflows/c-cpp.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml
new file mode 100644
index 0000000..08054a6
--- /dev/null
+++ b/.github/workflows/c-cpp.yml
@@ -0,0 +1,19 @@
+name: C/C++ CI
+
+on:
+ push:
+ branches: [ "master" ]
+ pull_request:
+ branches: [ "master" ]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+ - name: build
+ run: make all
+ - name: unit test
+ run: make run-test