Skip to content

Commit 13333e9

Browse files
committed
test
1 parent 87c01e7 commit 13333e9

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,17 @@ on:
1010
- test-ci
1111
jobs:
1212
build:
13-
name: Generic build
13+
name: Build ${{ matrix.package_type }}
1414
runs-on: ubuntu-24.04
1515
permissions:
1616
contents: write
17+
strategy:
18+
matrix:
19+
include:
20+
- package_type: ipk
21+
arch: x86_64-22.03.2
22+
- package_type: apk
23+
arch: x86_64-master
1724
steps:
1825
- name: Fetch luci-app-fleth code
1926
uses: actions/checkout@v4
@@ -34,18 +41,11 @@ jobs:
3441
$GITHUB_WORKSPACE/huggy/luci-app-fleth/po2lmo/src/po2lmo $GITHUB_WORKSPACE/huggy/luci-app-fleth/po/zh_Hans/fleth.po $GITHUB_WORKSPACE/huggy/luci-app-fleth/root/usr/lib/lua/luci/i18n/fleth.zh-cn.lmo
3542
$GITHUB_WORKSPACE/huggy/luci-app-fleth/po2lmo/src/po2lmo $GITHUB_WORKSPACE/huggy/luci-app-fleth/po/zh_Hant/fleth.po $GITHUB_WORKSPACE/huggy/luci-app-fleth/root/usr/lib/lua/luci/i18n/fleth.zh-tw.lmo
3643
37-
- name: Build ipk
44+
- name: Build ${{ matrix.package_type }}
3845
uses: openwrt/gh-action-sdk@main
3946
env:
4047
# We only use lua and shellscript, so it will worked on arm / mips router
41-
ARCH: x86_64-22.03.2
42-
PACKAGES: luci-app-fleth
43-
FEEDNAME: huggy
44-
NO_REFRESH_CHECK: true
45-
- name: Build apk
46-
uses: openwrt/gh-action-sdk@main
47-
env:
48-
ARCH: x86_64-master
48+
ARCH: ${{ matrix.arch }}
4949
PACKAGES: luci-app-fleth
5050
FEEDNAME: huggy
5151
NO_REFRESH_CHECK: true

0 commit comments

Comments
 (0)