Skip to content

Commit

Permalink
ci: add github test workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Spooren <[email protected]>
  • Loading branch information
aparcar authored and dangowrt committed Mar 20, 2024
1 parent 1901aba commit 79f8cfa
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]

- 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

0 comments on commit 79f8cfa

Please sign in to comment.