Skip to content

Commit

Permalink
ci: add GitHub actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
blocktrron committed Oct 8, 2023
1 parent 215ea2e commit e56494c
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e56494c

Please sign in to comment.