ci: add github test workflow
[project/procd.git] / .github / workflows / build.yml
1 name: OpenWrt CI testing
2
3 on: [ push, pull_request ]
4 env:
5 CI_ENABLE_UNIT_TESTING: 0
6 CI_TARGET_BUILD_DEPENDS: libubox
7
8 jobs:
9 native_testing:
10 name: Various native checks
11 runs-on: ubuntu-20.04
12
13 steps:
14 - uses: actions/checkout@v2
15
16 - uses: ynezz/gh-actions-openwrt-ci-native@v0.0.1
17
18 - name: Upload build artifacts
19 uses: actions/upload-artifact@v2
20 if: failure()
21 with:
22 name: native-build-artifacts
23 if-no-files-found: ignore
24 path: |
25 build/scan
26 tests/cram/**/*.t.err