"tests/vscode:/vscode.git/clone" did not exist on "045649973a9c6286398b4acce20e629b378e41c0"
Unverified Commit d89ff9a3 authored by wukongdaily's avatar wukongdaily Committed by GitHub
Browse files

新增bcm53xx/generic 斐讯K3等机型

parent 4cebe00a
......@@ -448,6 +448,41 @@ on:
- zyxel_nwa55axe
- zyxel_wap6805
- zyxel_wsm20
# 新增斐讯K3 AC88U等 bcm53xx/generic 平台
- phicomm_k3
- asus_rt-ac3100
- asus_rt-ac56u
- asus_rt-ac68u
- asus_rt-ac87u
- asus_rt-ac88u
- asus_rt-n18u
- buffalo_wxr-1900dhp
- buffalo_wzr-1750dhp
- buffalo_wzr-600dhp2
- buffalo_wzr-900dhp
- dlink_dir-885l
- dlink_dir-890l
- dlink_dwl-8610ap
- linksys_ea6300-v1
- linksys_ea6500-v2
- linksys_ea9200
- linksys_ea9500
- luxul_abr-4500
- luxul_xap-1610
- luxul_xbr-4500
- luxul_xwr-3150
- meraki_mr26
- meraki_mr32
- meraki_mx64
- meraki_mx64_a0
- meraki_mx65
- netgear_r6250
- netgear_r6300-v2
- netgear_r7000
- netgear_r7900
- netgear_r8000
- smartrg_sr400ac
- tenda_ac9
default: glinet_gl-mt6000
custom_router_ip:
description: "请设置路由器的管理地址 格式:192.168.x.1 10.x.x.1"
......@@ -513,6 +548,7 @@ jobs:
profile="${{ github.event.inputs.profile }}"
echo "Building for profile: $profile"
include_docker="${{ github.event.inputs.include_docker }}"
# 默认平台
echo "platform=mediatek/filogic" >> $GITHUB_ENV
# 读取 ipq807x 机型文件
......@@ -531,6 +567,14 @@ jobs:
case_platform="ramips/mt7621"
fi
# 读取 bcm53xx/generic 机型文件
bcm53xx_models=$(cat model/bcm53xx.txt | tr '\n' '|')
bcm53xx_models=${bcm53xx_models%|}
if [[ "$profile" =~ ^($bcm53xx_models)$ ]]; then
case_tag="bcm53xx-generic-openwrt-24.10.2"
case_platform="bcm53xx/generic"
fi
# 判断机型
case "$profile" in
glinet_gl-b2200)
......@@ -564,7 +608,7 @@ jobs:
cp ${{ github.workspace }}/mediatek-filogic/build23.sh ${{ github.workspace }}/mediatek-filogic/build24.sh
;;
*)
# 如果前面匹配了 ipq807xmt7621 文件,则使用对应 tag
# 如果前面匹配了 ipq807xmt7621、bcm53xx 机型文件,则使用对应 tag
if [[ -n "$case_tag" ]]; then
tag=$case_tag
echo "platform=$case_platform" >> $GITHUB_ENV
......@@ -575,8 +619,6 @@ jobs:
;;
esac
docker run --rm -i \
--user root \
-v "${{ github.workspace }}/bin:/home/build/immortalwrt/bin" \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment