mirror of
https://github.com/Dichgrem/luci-app-nyn.git
synced 2025-12-16 13:42:00 -05:00
feat:mips_actions
This commit is contained in:
11
.github/workflows/build-zzz.yml
vendored
11
.github/workflows/build-zzz.yml
vendored
@@ -8,11 +8,13 @@ on:
|
||||
required: true
|
||||
type: choice
|
||||
options:
|
||||
- ramips
|
||||
- filogic
|
||||
- x86_64
|
||||
default: filogic
|
||||
|
||||
env:
|
||||
RAMIPS_SDK_URL: https://downloads.immortalwrt.org/releases/24.10.3/targets/ramips/mt7621/immortalwrt-sdk-24.10.3-ramips-mt7621_gcc-13.3.0_musl.Linux-x86_64.tar.zst
|
||||
FILOGIC_SDK_URL: https://downloads.immortalwrt.org/releases/24.10.3/targets/mediatek/filogic/immortalwrt-sdk-24.10.3-mediatek-filogic_gcc-13.3.0_musl.Linux-x86_64.tar.zst
|
||||
X86_SDK_URL: https://downloads.immortalwrt.org/releases/24.10.3/targets/x86/64/immortalwrt-sdk-24.10.3-x86-64_gcc-13.3.0_musl.Linux-x86_64.tar.zst
|
||||
|
||||
@@ -33,14 +35,19 @@ jobs:
|
||||
- name: Resolve SDK choice
|
||||
id: vars
|
||||
run: |
|
||||
set -e
|
||||
if [ "${{ github.event.inputs.sdk }}" = "x86_64" ]; then
|
||||
echo "SDK_URL=${X86_SDK_URL}" >> $GITHUB_ENV
|
||||
echo "PACKAGE_ARCH=x86_64" >> $GITHUB_ENV
|
||||
echo "👉 选择x86_64架构"
|
||||
else
|
||||
elif [ "${{ github.event.inputs.sdk }}" = "filogic" ]; then
|
||||
echo "SDK_URL=${FILOGIC_SDK_URL}" >> $GITHUB_ENV
|
||||
echo "PACKAGE_ARCH=aarch64_cortex-a53" >> $GITHUB_ENV
|
||||
echo "👉 选择aarch64架构"
|
||||
else
|
||||
echo "SDK_URL=${RAMIPS_SDK_URL}" >> $GITHUB_ENV
|
||||
echo "PACKAGE_ARCH=ramips" >> $GITHUB_ENV
|
||||
echo "👉 选择ramips架构"
|
||||
fi
|
||||
echo "WORK_ROOT=$GITHUB_WORKSPACE/imwrt-sdk" >> $GITHUB_ENV
|
||||
|
||||
@@ -128,4 +135,4 @@ jobs:
|
||||
with:
|
||||
name: zzz
|
||||
path: output/*zzz*.ipk
|
||||
if-no-files-found: error
|
||||
if-no-files-found: error
|
||||
|
||||
@@ -78,7 +78,6 @@ o.rmempty = false
|
||||
o.rawhtml = true
|
||||
|
||||
-- Network Device
|
||||
o = s:option(ListValue, "device", "网络接口", "用于认证的网络接口")
|
||||
o = s:option(
|
||||
Value,
|
||||
"device",
|
||||
|
||||
Reference in New Issue
Block a user