summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Spooren2023-10-26 07:21:28 +0000
committerDaniel Golle2024-03-20 18:47:29 +0000
commit79f8cfa58ee7ec828a0fe3519ce696be42a81b2d (patch)
tree11de5d3da27337ca0fda31f43515430608fdccff
parent1901aba90b6841ec1a99a25224a92d2519c603fd (diff)
downloadprocd-79f8cfa58ee7ec828a0fe3519ce696be42a81b2d.tar.gz
ci: add github test workflow
Signed-off-by: Paul Spooren <mail@aparcar.org>
-rw-r--r--.github/workflows/build.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..577f11f
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,26 @@
+name: OpenWrt CI testing
+
+on: [ push, pull_request ]
+env:
+ CI_ENABLE_UNIT_TESTING: 0
+ CI_TARGET_BUILD_DEPENDS: libubox
+
+jobs:
+ native_testing:
+ name: Various native checks
+ runs-on: ubuntu-20.04
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: ynezz/gh-actions-openwrt-ci-native@v0.0.1
+
+ - name: Upload build artifacts
+ uses: actions/upload-artifact@v2
+ if: failure()
+ with:
+ name: native-build-artifacts
+ if-no-files-found: ignore
+ path: |
+ build/scan
+ tests/cram/**/*.t.err