diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..9a9068d --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,30 @@ +name: Test Build + +on: [push, pull_request] + +jobs: + build: + name: ${{ matrix.arch }} build + runs-on: ubuntu-latest + strategy: + matrix: + arch: + - aarch64_cortex-a53 + - arm_cortex-a7_neon-vfpv4 + - mips_24kc + - mipsel_24kc + - x86_64 + + steps: + - uses: actions/checkout@v2 + + - name: Build + uses: openwrt/gh-action-sdk@main + env: + ARCH: ${{ matrix.arch }} + + - name: Store packages + uses: actions/upload-artifact@v2 + with: + name: ${{ matrix.arch}}-packages + path: bin/packages/${{ matrix.arch }}/packages/*.ipk