build.yml 618 B

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