summaryrefslogtreecommitdiffstats
path: root/.github/workflows/build.yml
blob: 4d3c40dc903f1d1c68e2bdb1b2d148b6ef81b28b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: OpenWrt CI testing

on: [ push, pull_request ]
env:
  CI_ENABLE_UNIT_TESTING: 0
  CI_TARGET_BUILD_DEPENDS: libubox
  CI_CMAKE_EXTRA_BUILD_ARGS: -DJAIL_SUPPORT=1

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