-
Notifications
You must be signed in to change notification settings - Fork 139
50 lines (45 loc) · 1.16 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
name: Build Packages
on:
workflow_dispatch:
jobs:
build:
name: ${{ matrix.arch }} build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
arch:
- arm_cortex-a5_vfpv4
- arm_cortex-a7_neon-vfpv4
- arm_cortex-a8_vfpv3
- arm_cortex-a9
- arm_cortex-a9_vfpv3-d16
- arm_cortex-a9_neon
- arm_cortex-a15_neon-vfpv4
- aarch64_cortex-a53
- aarch64_cortex-a72
- aarch64_generic
- mips_24kc
- mips_4kec
- mips_mips32
- mipsel_24kc
- mipsel_24kc_24kf
- mipsel_74kc
- mips64_octeonplus
- i386_pentium4
- x86_64
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
uses: openwrt/gh-action-sdk@main
env:
ARCH: ${{ matrix.arch }}
FEEDNAME: mihomo
PACKAGES: luci-app-mihomo
NO_REFRESH_CHECK: true
- name: Upload
uses: actions/upload-artifact@v4
with:
name: mihomo_${{ matrix.arch }}
path: bin/packages/${{ matrix.arch }}/mihomo/*.ipk