diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2022-09-14 12:53:55 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2022-09-17 10:31:26 +0200 |
commit | b3e9af495c79f6c8c68c0eb36df67dfa5ede4e16 (patch) | |
tree | 487a5f325636bc1e0df29b2de8b9cdd01e590704 /.github | |
parent | b8cfe1d6d3c4f52d3bbaf3e4beb80903f9310830 (diff) |
Add OpenWrt CI via Github Actions.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build-openwrt.yml | 70 | ||||
-rw-r--r-- | .github/workflows/build.yml | 2 |
2 files changed, 72 insertions, 0 deletions
diff --git a/.github/workflows/build-openwrt.yml b/.github/workflows/build-openwrt.yml new file mode 100644 index 000000000..a202eefa7 --- /dev/null +++ b/.github/workflows/build-openwrt.yml @@ -0,0 +1,70 @@ +name: OpenWrt Build + +on: + push: + branches: + - main + - tmp + pull_request: + branches: + - master + types: [opened, synchronize, reopened] + release: + types: [created] + +jobs: + build: + name: ${{ matrix.arch }} build + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + include: + - arch: arc_archs + target: archs38-generic + + - arch: arm_cortex-a9_vfpv3-d16 + target: mvebu-cortexa9 + + - arch: mips_24kc + target: ath79-generic + + - arch: mipsel_24kc + target: mt7621 + + - arch: powerpc_464fp + target: apm821xx-nand + + - arch: powerpc_8540 + target: mpc85xx-p1010 + + - arch: aarch64_cortex-a53 + target: mvebu-cortexa53 + + - arch: arm_cortex-a15_neon-vfpv4 + target: armvirt-32 + + - arch: i386_pentium-mmx + target: x86-geode + + - arch: x86_64 + target: x86-64 + + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Build + uses: openwrt/gh-action-sdk@master + env: + ARCH: ${{ matrix.arch }} + FEED_DIR: ${{ github.workspace }}/packages/openwrt + FEEDNAME: ndpid_openwrt_packages_ci + PACKAGES: nDPId-testing + + - name: Store packages + uses: actions/upload-artifact@v2 + with: + name: ${{ matrix.arch}}-packages + path: bin/packages/${{ matrix.arch }}/packages/*.ipk diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6e10d680c..af65f4c9f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,5 @@ name: Build + on: push: branches: @@ -10,6 +11,7 @@ on: types: [opened, synchronize, reopened] release: types: [created] + jobs: test: name: ${{ matrix.os }} ${{ matrix.gcrypt }} |