summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2022-09-14 12:53:55 +0200
committerToni Uhlig <matzeton@googlemail.com>2022-09-17 10:31:26 +0200
commitb3e9af495c79f6c8c68c0eb36df67dfa5ede4e16 (patch)
tree487a5f325636bc1e0df29b2de8b9cdd01e590704 /.github
parentb8cfe1d6d3c4f52d3bbaf3e4beb80903f9310830 (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.yml70
-rw-r--r--.github/workflows/build.yml2
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 }}