Skip to content

WRT-TEST

WRT-TEST #11

Workflow file for this run

#CI项目
name: WRT-TEST
#CI计划
on:
#手动编译
workflow_dispatch:
inputs:
TARGET:
default: 'MTK-7981'
required: true
type: choice
options: [MTK-7981, MTK-7986]
SOURCE:
default: 'hanwckf/immortalwrt-mt798x'
required: true
type: choice
options: [hanwckf/immortalwrt-mt798x, padavanonly/immortalwrt-mt798x, padavanonly/immortalwrt-mt798x-23.05]
BRANCH:
default: 'openwrt-21.02'
required: true
type: string
ADJUST:
description: '内存低占用模式,默认关闭。'
default: 'false'
required: true
type: boolean
PACKAGE:
required: false
type: string
TEST:
description: '仅输出配置文件,不编译固件。'
default: 'true'
required: true
type: boolean
#CI权限
permissions: write-all
#CI任务
jobs:
wrt_config:
name: ${{inputs.TARGET}}
#调用公用编译核心WRT-CORE.yml
uses: ./.github/workflows/WRT-CORE.yml
with:
#编译平台
WRT_TARGET: ${{inputs.TARGET}}
#默认主题
WRT_THEME: argon
#默认主机名
WRT_NAME: AX3000T
#默认WIFI名
WRT_WIFI: AX3000T
#默认地址
WRT_IP: 192.168.123.1
#默认密码,仅作提示,修改无用
WRT_PW: 无
#源码链接
WRT_REPO: https://github.com/${{inputs.SOURCE}}.git
#源码分支
WRT_BRANCH: ${{inputs.BRANCH}}
#源码名称
WRT_SOURCE: ${{inputs.SOURCE}}
#内存低占用模式
WRT_ADJUST: ${{inputs.ADJUST}}
#插件调整
WRT_PACKAGE: ${{inputs.PACKAGE}}
#仅输出配置文件
WRT_TEST: ${{inputs.TEST}}