name: OpenWrt CI pull request testing on: pull_request: types: [opened, reopened, synchronize] env: CI_ENABLE_UNIT_TESTING: 1 CI_TARGET_BUILD_DEPENDS: libnl-tiny ubus uci concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: native_testing: name: Various native checks runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: ynezz/gh-actions-openwrt-ci-native@v0.0.2 env: CI_GCC_VERSION_LIST: CI_CLANG_VERSION_LIST: 11 - name: Upload build artifacts uses: actions/upload-artifact@v3 if: failure() with: name: native-build-artifacts if-no-files-found: ignore path: | build/scan tests/cram/**/*.t.err