Skip to content

Commit

Permalink
github: add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
blocktrron committed Feb 4, 2024
1 parent 9932421 commit 17fda87
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Test Build
on: [ push, pull_request]
jobs:
build:
name: ${{ matrix.arch }} ${{ matrix.version }} build
runs-on: ubuntu-latest
strategy:
matrix:
arch:
- mips_24kc
- mipsel_24kc
- powerpc_8540
- x86_64
version:
- 22.06.3
- 23.05.2
steps:
- uses: actions/checkout@v2
- name: Build
uses: openwrt/gh-action-sdk@v5
env:
ARCH: ${{ matrix.arch }}-${{ matrix.version }}
FEEDNAME: packages_ci
PACKAGES: "gluon-diagnostic"
KEY_BUILD: "RWRCSwAAAADDDX5uZK8x5UDT1RoVpOmbik/2kEoWm9q08QB6E0im50hNLwPpOfKCFURVvNR0iDGePQm5pnrZKX3OYyfsbv9G6eGsrlozbXFnGJXI3Szjb/Th7Uhd7mLSIh0wLyjIYEI="
V: s
- name: Store packages
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.arch }}-${{ matrix.version }}-packages
path: bin/packages/${{ matrix.arch }}/packages_ci/*.ipk

0 comments on commit 17fda87

Please sign in to comment.