forked from polikasov/AirSane-openwrt
-
Notifications
You must be signed in to change notification settings - Fork 5
55 lines (47 loc) · 1.41 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Build Airsaned packages
on:
workflow_call:
workflow_dispatch:
jobs:
build:
strategy:
fail-fast: false
matrix:
wrtrel:
- 22.03.7
- 23.05.2
- 23.05.3
- 23.05.4
sdk:
- ramips-mt76x8
- bcm27xx-bcm2708
- ath79-generic
- ath79-nand
- ath79-tiny
- ipq40xx-generic
- x86-64
- x86-generic
- ipq806x-generic
- mediatek-mt7622
- mvebu-cortexa9
- bcm53xx-generic
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Checkout current repository
uses: actions/checkout@v4
- name: Build Airsaned package for OpenWRT
uses: cmangla/gh-action-sdk@pr-hash-fixup-option
env:
ARCH: ${{ matrix.sdk }}-${{ matrix.wrtrel }}
EXTRA_FEEDS: src-git|airsaned|${{ github.server_url }}/${{ github.repository }}.git^${{ github.sha }}
PACKAGES: airsaned
FIXUP: 1
V: w # s=(stdout+stderr), w=warnings, c=commands
- name: Obtain full package version
run: bash ./.github/work.sh pkg-ver airsaned/Makefile | tee $GITHUB_ENV
shell: bash
- uses: actions/upload-artifact@v4
with:
name: airsaned_${{ env.PKG_FULL_VERSION }}_openwrt-${{ matrix.wrtrel }}_${{ matrix.sdk }}.ipk.d
path: bin/packages/**/airsaned_*.ipk