handle compressed configuration #94
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: OpenWrt CI testing | |
on: [ push, pull_request ] | |
env: | |
CI_FEED_BUILD_DEPENDS: base packages | |
CI_TARGET_BUILD_DEPENDS: ubus libwebsockets | |
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 | |
sdk_build: | |
name: Build with OpenWrt ${{ matrix.sdk_platform }} SDK (out of tree) | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
sdk_platform: | |
- ath79-generic | |
- imx6-generic | |
- malta-be | |
- mvebu-cortexa53 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Out of tree build with OpenWrt ${{ matrix.sdk_platform }} SDK | |
uses: ynezz/gh-actions-openwrt-ci-sdk@v0.0.1 | |
env: | |
CI_TARGET_SDK_RELEASE: master | |
CI_TARGET_SDK_IMAGE: ${{ matrix.sdk_platform }} |