kfermercer / openwrt-ci Goto Github PK
View Code? Open in Web Editor NEWOpenWrt CI 在线集成自动编译环境
License: MIT License
OpenWrt CI 在线集成自动编译环境
License: MIT License
如题,谢谢!
测试了很多次都不行,Merge-upstream未做任何改动,Openwrt-CI有添加
push:
branches:
- master
如果是自己commit内容每次都能触发.
还是说没有如果marge了内容就自动触发Openwrt-CI这个机制,要自动编译的话openwrt-ci也要设定计划任务呢,
谢谢.
编译x86,添加以下php环境插件,编译后发现固件里并没有php环境的以下插件 ,这个要怎么解决呢?
CONFIG_PACKAGE_php7-fpm=y
CONFIG_PACKAGE_php7-mod-curl=y
CONFIG_PACKAGE_php7-mod-gd=y
CONFIG_PACKAGE_php7-mod-iconv=y
CONFIG_PACKAGE_php7-mod-json=y
CONFIG_PACKAGE_php7-mod-mbstring=y
CONFIG_PACKAGE_php7-mod-opcache=y
CONFIG_PACKAGE_php7-mod-session=y
CONFIG_PACKAGE_php7-mod-zip=y
Process completed with exit code 100.
问一下,想在云编译的时候加入魔改版的SSR,git clone之后 固件定制部分L大默认的SSR+ 还需要修改吗
感謝大佬的自動編譯程序,我也能夠按照大佬的方法自行定製一些X86的固件,並且能夠正常的編譯下載,但是當我想編譯樹莓派的固件的時候,顯示編譯成功,但是當我下載的時候卻發現文件爲0字節,請問是什麼原因呢?附上我的raspi和X86文本及圖片,
openwrt-ci.txt
openwrt-ci-raspi.txt
從圖片上來看感覺並沒有編譯生成任何文件,我x86和樹莓派都是將.config裏的所有未註釋的條目全部複製進去,但是X86能編譯成功,樹莓派顯示成功,但是沒有任何文件產生。
https://github.com/unixz/openwrt-printing-packages
一直编译不过,能抽空帮看看是什么错误吗?
非常感谢。
/home/runner/work/_temp/a1473c58-c897-4eec-b8e9-fcd73e460d64.sh: line 4: /etc/apt/sources.list: Permission denied
##[error]Process completed with exit code 1.
2019-12-10T03:05:01.9083219Z time: package/network/services/hostapd/wpad-full-internal/compile#48.39#5.02#55.60
2019-12-10T03:05:01.9109185Z make[2]: Leaving directory '/home/runner/work/lede/lede'
2019-12-10T03:05:01.9149043Z make[1]: *** [/home/runner/work/lede/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
2019-12-10T03:05:01.9149466Z package/Makefile:103: recipe for target '/home/runner/work/lede/lede/staging_dir/target-x86_64_musl/stamp/.package_compile' failed
2019-12-10T03:05:01.9150321Z make[1]: Leaving directory '/home/runner/work/lede/lede'
2019-12-10T03:05:01.9154133Z Build failed - please re-run with -j1 to see the real error message
2019-12-10T03:05:01.9155641Z /home/runner/work/lede/lede/include/toplevel.mk:216: recipe for target 'world' failed
2019-12-10T03:05:01.9160419Z make: *** [world] Error 1
2019-12-10T03:05:01.9183196Z ##[error]Process completed with exit code 2.
是多线程编译??
是必须同步你lede那边的源码才能同步吗??
1.我没有添加KMS服务器和网络唤醒两个app,但您编译成功后安装完发现带了这两个app,这是什么原因呢?能否不让固件编译进去这两个app呢?
2.能否可以自定义使得编译后的固件压缩包里只包含uefi版的那个包呢?
谢谢🙏
今天下午编译时出现的,在Initialization environment阶段出现
W: Conflicting distribution: https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic InRelease (expected bionic but got stable)
E: Repository 'https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic InRelease' changed its 'Origin' value from 'microsoft-ubuntu-bionic-prod bionic' to 'vscode stable'
E: Repository 'https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic InRelease' changed its 'Label' value from 'microsoft-ubuntu-bionic-prod bionic' to 'vscode stable'
E: Repository 'https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic InRelease' changed its 'Suite' value from 'bionic' to 'stable'
E: Repository 'https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic InRelease' changed its 'Codename' value from 'bionic' to 'stable'
W: Conflicting distribution: https://packages.microsoft.com/ubuntu/16.04/prod xenial InRelease (expected xenial but got stable)
E: Repository 'https://packages.microsoft.com/ubuntu/16.04/prod xenial InRelease' changed its 'Origin' value from 'microsoft-ubuntu-xenial-prod xenial' to 'vscode stable'
E: Repository 'https://packages.microsoft.com/ubuntu/16.04/prod xenial InRelease' changed its 'Label' value from 'microsoft-ubuntu-xenial-prod xenial' to 'vscode stable'
E: Repository 'https://packages.microsoft.com/ubuntu/16.04/prod xenial InRelease' changed its 'Suite' value from 'xenial' to 'stable'
E: Repository 'https://packages.microsoft.com/ubuntu/16.04/prod xenial InRelease' changed its 'Codename' value from 'xenial' to 'stable'
##[error]Process completed with exit code 100.
建议把脚本定制部分的内容提出来放到根目录某个文件中,好处:
1.脚本文件更简洁清晰, 不再需要cat >> .config <<EOF之类的语法,不再需要考虑格式,对齐等,以后同步更新本项目.yml文件也不用考虑定制部分,根目录的配置文件直接按照.config的语法即可,只需要添加需要定制的部分,无需拷贝整个.config文件
2.更方便的编译和管理多个设备的不同固件,只需要在根目录添加几个配置文件即可.
另外建议引入diy.sh,为高阶用户提供更多玩法, 比如https://github.com/garypang13/lede/raw/master/diy.sh
Cannot push as a bot.
Push Commits3s
##[error]Process completed with exit code 1.
Run git push --force origin $DOWNSTREAM_BRANCH
To https://github.com/cloudiesky/lede
! [remote rejected] master -> master (refusing to allow a bot to create or update workflow .github/workflows/openwrt-ci.yml
)
error: failed to push some refs to 'https://github.com/cloudiesky/lede'
##[error]Process completed with exit code 1.
最近云编译一直出错,用的示例里面的 yml 文件 (https://github.com/KFERMercer/OpenWrt-by-lean/blob/CI-demo/.github/workflows/openwrt-ci.yml) 已经改过 master 了,之前一直没问题,就是最近不行,更新Lean大的源码后,一直编译报错。
求解决!
# cat >> .config <<EOF
# CONFIG_PACKAGE_kmod-fs-nfs=y
# CONFIG_PACKAGE_kmod-fs-nfs-common=y
# CONFIG_PACKAGE_kmod-fs-nfs-v3=y
# CONFIG_PACKAGE_kmod-fs-nfs-v4=y
# CONFIG_PACKAGE_kmod-fs-ntfs=y
# CONFIG_PACKAGE_kmod-fs-squashfs=y
# EOF
这边我保持默认,但是编译出来的固件没有factory.bin的版本。请问是需要如何修改可以得到对应的固件。另外ipv6保持默认的话也是不开启状态么?
openwrt-ci.yml没做任何修改
错误信息:
The unique ID for this error is B32D:2650:17B19:28611:5DE0E06A.
/home/runner/work/lede/lede/.config:36: *** missing separator. Stop.
这个报错会出什么问题吗??
对应的36-40行是这样的:
#
好像没看到哪里有问题啊??
感谢大大的自动编译脚本!
可不可以将编译的固件文件名添加脚本实现文件名称中包含【固件平台】、编译日期(且根据前面的设置和编译日期自动添加),比如Openwrt-X64-2019-12-10式样?
谢谢指教!
复制的本项目的openwrt-ci.yml文件,除了把
# cat >> .config <<EOF
# CONFIG_EFI_IMAGES=y
# EOF
去掉了# 改成了
cat >> .config <<EOF
CONFIG_EFI_IMAGES=y
EOF
其他没做任何修改
https://github.com/vernesong/OpenClash
需要先编译工具po2lmo,试过直接在Action的任务里面
git clone 然后EOF回环里面加luci-app-openclash,并不会编译出来
GG:
From https://github.com/coolsnowwolf/lede
没有config.seed文件便于参考
比如上游代码里面有多个分支的,默认只能同步默认的分支,而其他分支不能同步,修改了
- name: 效验本地文件
uses: actions/checkout@master
with:
ref: 分支1名字
fetch-depth: 0
lfs: true
- name: 效验本地文件
uses: actions/checkout@master
with:
ref: 分支2名字
fetch-depth: 0
lfs: true
这两个地方,第一步前面两个对比都可以顺利执行成功
- name: 加载上游提交
run: git pull https://github.com/Lienol/openwrt-luci.git --no-edit --strategy-option ours
然后到这一步就失败了,不知道这里应该怎么修改了
然后下面接着的
- name: 推送上游提交
env:
DOWNSTREAM_BRANCH: 分支1名字
run: git push origin $DOWNSTREAM_BRANCH
- name: 推送上游提交
env:
DOWNSTREAM_BRANCH: 分支2名字
run: git push origin $DOWNSTREAM_BRANCH
自然也就直接跳过不执行了
求帮助,非常谢谢
我新建了一个分支,叫做ledenew,想问下openwrt-ci.yml和merge-upstream.yml文件里那些字段要修改成ledenew?是所有master都替换还是只有那些要替换?
我的网卡是 AR8151 Gigabit Ethernet Controller ,应该如何添加驱动呢?
如题
编译64位
# 编译x64固件:
cat >> .config <<EOF
CONFIG_TARGET_x86=y
CONFIG_TARGET_x86_64=y
CONFIG_TARGET_x86_64_Generic=y
EOF
修改了为:
# 编译32位固件:
cat >> .config <<EOF
CONFIG_TARGET_x86=y
CONFIG_TARGET_x86_generic=y
CONFIG_TARGET_x86_generic_Generic=y
EOF
然后32版本编译出错了,请问修改为32版本,是不是这样就可以了呢?多谢
现在的教程只适合制作傻瓜级Lean的固件。。。
你好,我想问下如果我是定制硬路由的固件,比如newifi-d2 ,我应该怎么调整代码,具体是命名规制之类的是怎么样,有什么参考资料吗。
【正确的定制固件脚本应该是长这样的, 此配置基于大雕最新代码, 开启了所有预先写好的定制选项, 同时已经经过测试可用. 悟性再高不如照葫芦画瓢, 如果你的配置一直编译失败, 抄, 请.】
我尝试抄,简单调整(不知道命名规制按猜想的来)
cat >> .config <<EOF
#CONFIG_TARGET_x86=y
#CONFIG_TARGET_x86_64=y
#CONFIG_TARGET_x86_64_Generic=y
CONFIG_TARGET_MediaTek_Ralink_MIPS=y
CONFIG_TARGET_MT7621_based_boards=y
CONFIG_TARGET_Newifi_D2=y
EOF
编辑成功,但是还是x86的
.config:71:warning: unexpected data: CONFIG_PACKAGE_vim-fuller=y
.config:72:warning: unexpected data: CONFIG_PACKAGE_wget=y
.config:73:warning: unexpected data: EOF
.config:82:warning: unexpected data: sed -i 's/^[ \t]*//g' ./.config
.config:83:warning: unexpected data: make defconfig
Error opening terminal: unknown.
make[1]: *** [menuconfig] Error 1
/home/runner/work/lede/lede/include/toplevel.mk:136: recipe for target 'menuconfig' failed
make[1]: Leaving directory '/home/runner/work/lede/lede'
/home/runner/work/lede/lede/include/toplevel.mk:97: recipe for target '.config' failed
make: *** [.config] Error 2
##[error]Process completed with exit code 2.
首先感谢大佬的同步和编译代码
我FORK过来的项目删除了L大自带的openwrt-ci.yml,然后新建了OpenWrt-X64-Actions.yml,编译一切顺利
之前同步上游代码运行一直正常,直到昨天L大更新了workflows目录的CI.yml文件
开始报错
2019-12-20T04:27:35.5001255Z shell: /bin/bash -e {0}
2019-12-20T04:27:35.5001376Z ##[endgroup]
2019-12-20T04:27:35.5197391Z ##[group]Run git pull https://github.com/coolsnowwolf/lede.git --no-edit --strategy-option ours
2019-12-20T04:27:35.5197612Z �[36;1mgit pull https://github.com/coolsnowwolf/lede.git --no-edit --strategy-option ours�[0m
2019-12-20T04:27:35.5223829Z shell: /bin/bash -e {0}
2019-12-20T04:27:35.5223934Z ##[endgroup]
2019-12-20T04:27:35.8634794Z From https://github.com/coolsnowwolf/lede
2019-12-20T04:27:35.8636500Z * branch HEAD -> FETCH_HEAD
2019-12-20T04:27:36.1575731Z Auto-merging .github/workflows/OpenWrt-X64-Actions.yml
2019-12-20T04:27:36.3774251Z Merge made by the 'recursive' strategy.
2019-12-20T04:27:36.3828838Z .github/workflows/OpenWrt-X64-Actions.yml | 25 +-
2019-12-20T04:27:36.3829204Z include/prereq-build.mk | 4 +-
2019-12-20T04:27:36.3829502Z package/lean/luci-app-kodexplorer/Makefile | 4 +-
2019-12-20T04:27:36.3829788Z .../luasrc/controller/kodexplorer.lua | 62 ++--
2019-12-20T04:27:36.3830498Z .../luasrc/model/cbi/kodexplorer/api.lua | 316 ++++++++++-----------
2019-12-20T04:27:36.3830898Z .../luasrc/model/cbi/kodexplorer/settings.lua | 52 ++--
2019-12-20T04:27:36.3831197Z .../luasrc/view/kodexplorer/download.htm | 27 +-
2019-12-20T04:27:36.3831306Z .../luasrc/view/kodexplorer/version.htm | 17 ++
2019-12-20T04:27:36.3831603Z .../luci-app-kodexplorer/po/zh-cn/kodexplorer.po | 102 +++++++
2019-12-20T04:27:36.3831895Z .../root/etc/config/kodexplorer | 12 +-
2019-12-20T04:27:36.3832267Z .../root/etc/init.d/kodexplorer | 2 +-
2019-12-20T04:27:36.3832767Z package/lean/luci-theme-netgear/Makefile | 2 +-
2019-12-20T04:27:36.3833042Z .../htdocs/luci-static/netgear/css/style.css | 2 +-
2019-12-20T04:27:36.3833579Z 13 files changed, 365 insertions(+), 262 deletions(-)
2019-12-20T04:27:36.3833892Z create mode 100644 package/lean/luci-app-kodexplorer/luasrc/view/kodexplorer/version.htm
2019-12-20T04:27:36.4648703Z ##[group]Run git push origin $DOWNSTREAM_BRANCH
2019-12-20T04:27:36.4648902Z �[36;1mgit push origin $DOWNSTREAM_BRANCH�[0m
2019-12-20T04:27:36.4681102Z shell: /bin/bash -e {0}
2019-12-20T04:27:36.4681213Z env:
2019-12-20T04:27:36.4681292Z DOWNSTREAM_BRANCH: master
2019-12-20T04:27:36.4681381Z ##[endgroup]
2019-12-20T04:27:39.0509189Z To https://github.com/kang-mk/lede
2019-12-20T04:27:39.0509704Z ! [remote rejected] master -> master (refusing to allow a bot to create or update workflow .github/workflows/OpenWrt-X64-Actions.yml
)
2019-12-20T04:27:39.0510200Z error: failed to push some refs to 'https://github.com/kang-mk/lede'
2019-12-20T04:27:39.0529354Z ##[error]Process completed with exit code 1.
2019-12-20T04:27:39.0552519Z Cleaning up orphan processes
看错误是OpenWrt-X64-Actions.yml引起的
然后我删除了OpenWrt-X64-Actions.yml文件
重新激活同步
然后开始报
2019-12-20T04:36:22.0042205Z Updating files: 100% (10835/10835)
2019-12-20T04:36:22.0042312Z Updating files: 100% (10835/10835), done.
2019-12-20T04:36:22.0293295Z Reset branch 'master'
2019-12-20T04:36:22.0293648Z Branch 'master' set up to track remote branch 'master' from 'origin'.
2019-12-20T04:36:22.1117902Z [command]/usr/bin/git log -1
2019-12-20T04:36:22.1152663Z commit e14c703fc260afcc8a8befccc06349250951fe8b
2019-12-20T04:36:22.1153615Z Author: 尐ˊ;栤嚸┌ [email protected]
2019-12-20T04:36:22.1154100Z Date: Fri Dec 20 12:35:52 2019 +0800
2019-12-20T04:36:22.1154181Z
2019-12-20T04:36:22.1154850Z Delete OpenWrt-X64-Actions.yml
2019-12-20T04:36:22.1166473Z Removed matchers: 'checkout-git'
2019-12-20T04:36:22.1404461Z ##[group]Run git config --global user.email "[email protected]"
2019-12-20T04:36:22.1404810Z �[36;1mgit config --global user.email "[email protected]"�[0m
2019-12-20T04:36:22.1404913Z �[36;1mgit config --global user.name "KFERMercer"�[0m
2019-12-20T04:36:22.1438569Z shell: /bin/bash -e {0}
2019-12-20T04:36:22.1438689Z ##[endgroup]
2019-12-20T04:36:22.1632392Z ##[group]Run git pull https://github.com/coolsnowwolf/lede.git --no-edit --strategy-option ours
2019-12-20T04:36:22.1632587Z �[36;1mgit pull https://github.com/coolsnowwolf/lede.git --no-edit --strategy-option ours�[0m
2019-12-20T04:36:22.1661652Z shell: /bin/bash -e {0}
2019-12-20T04:36:22.1661759Z ##[endgroup]
2019-12-20T04:36:22.5041904Z From https://github.com/coolsnowwolf/lede
2019-12-20T04:36:22.5042865Z * branch HEAD -> FETCH_HEAD
2019-12-20T04:36:22.5958404Z CONFLICT (modify/delete): .github/workflows/openwrt-ci.yml deleted in HEAD and modified in 0f0c3f1. Version 0f0c3f1 of .github/workflows/openwrt-ci.yml left in tree.
2019-12-20T04:36:22.6288691Z Automatic merge failed; fix conflicts and then commit the result.
2019-12-20T04:36:22.6308982Z ##[error]Process completed with exit code 1.
2019-12-20T04:36:22.6331373Z Cleaning up orphan processes
好像是workflows目录文件名不统一引起的?(错误测试了几次之后直接删除了项目,重新fork了,忘了测试把名字改成和L大的一样会不会再次错误了)
或者能不能合并上游的时候直接排除这个目录
老哥,用你的最新代码之后,更新了代码之后,编译的固件,反而更老了。。。
什么原因啊?昨天还正常的,今天出来变成R11.23最早的版本了。。。
用的脚本里面,没有ipsecvpn、zerotiervpn还有迅雷快鸟这些定制的插件,但是编译出来就自带了,请问需要怎么改动才会不在编译成的包里呢。
之前问过,但是没说清楚.这边特地重新弄了下
下图是我昨天早上8点前最后一次修改Merge-upstream文件的截图
下图是我actions今天查看的截图
这个链接是我的Merge-upstream文件内容链接,时间我改成了UTC每天0点35执行,但是今天早上8点35也没有执行过
https://github.com/bonnyandsky/lede/blob/ledenew/.github/workflows/Merge-upstream.yml
还请k大帮忙看下是哪里出了问题,同样自动编译固件的yml也没有自动执行
https://github.com/bonnyandsky/lede/blob/ledenew/.github/workflows/ledenew-ci.yml
感觉openwrt-ci.yml每日编译意义不大。是不是可以考虑merge-upstream.yml每天定时看看源是否有更新,然后如果更新了,触发openwrt-ci.yml启动一次编译
fork的lean的库,在lean有更新,commit部分领先部分落后的情况下,观察了几天了,merge定时运行后,无法触发ci自动编译
Reading package lists...
W: Conflicting distribution: https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic InRelease (expected bionic but got stable)
E: Repository 'https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic InRelease' changed its 'Origin' value from 'microsoft-ubuntu-bionic-prod bionic' to 'vscode stable'
E: Repository 'https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic InRelease' changed its 'Label' value from 'microsoft-ubuntu-bionic-prod bionic' to 'vscode stable'
E: Repository 'https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic InRelease' changed its 'Suite' value from 'bionic' to 'stable'
E: Repository 'https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic InRelease' changed its 'Codename' value from 'bionic' to 'stable'
W: Conflicting distribution: https://packages.microsoft.com/ubuntu/16.04/prod xenial InRelease (expected xenial but got stable)
E: Repository 'https://packages.microsoft.com/ubuntu/16.04/prod xenial InRelease' changed its 'Origin' value from 'microsoft-ubuntu-xenial-prod xenial' to 'vscode stable'
E: Repository 'https://packages.microsoft.com/ubuntu/16.04/prod xenial InRelease' changed its 'Label' value from 'microsoft-ubuntu-xenial-prod xenial' to 'vscode stable'
E: Repository 'https://packages.microsoft.com/ubuntu/16.04/prod xenial InRelease' changed its 'Suite' value from 'xenial' to 'stable'
E: Repository 'https://packages.microsoft.com/ubuntu/16.04/prod xenial InRelease' changed its 'Codename' value from 'xenial' to 'stable'
##[error]Process completed with exit code 100.
如题,我查了下没看懂是怎么写的…
编译出来只有一个固件,想同时带有config.seed文件方便查看
Run make download -j8
make download -j8
find ./dl/ -size -1024c -exec rm -f {} ;
df -h
shell: /bin/bash -e {0}
fatal: Invalid revision range 97a4ffc..HEAD
fatal: Invalid revision range 97a4ffc..d8ca5d72cad04e262dbfc648a840b642e4f102f0
fatal: Invalid revision range 97a4ffc..HEAD
fatal: Invalid revision range 97a4ffc..d8ca5d72cad04e262dbfc648a840b642e4f102f0
/home/runner/work/lede/lede/.config:4: *** missing separator. Stop.
/home/runner/work/lede/lede/.config:4: *** missing separator. Stop.
make[1]: Entering directory '/home/runner/work/lede/lede'
fatal: Invalid revision range 97a4ffc..HEAD
fatal: Invalid revision range 97a4ffc..d8ca5d72cad04e262dbfc648a840b642e4f102f0
make[2]: Entering directory '/home/runner/work/lede/lede/scripts/config'
make[2]: Leaving directory '/home/runner/work/lede/lede/scripts/config'
make[2]: Entering directory '/home/runner/work/lede/lede'
fatal: Invalid revision range 97a4ffc..HEAD
fatal: Invalid revision range 97a4ffc..d8ca5d72cad04e262dbfc648a840b642e4f102f0
make[2]: Leaving directory '/home/runner/work/lede/lede'
/home/runner/work/lede/lede/.config:4: *** missing separator. Stop.
/home/runner/work/lede/lede/.config:4: *** missing separator. Stop.
.config:1:warning: unexpected data: CONFIG_TARGET_x86=y
.config:2:warning: unexpected data: CONFIG_TARGET_x86_64=y
.config:2:warning: unexpected data: CONFIG_TARGET_x86_64=y
.config:3:warning: unexpected data: CONFIG_TARGET_x86_64_Generic=y
.config:4:warning: unexpected data: EOF
.config:7:warning: unexpected data: cat >> .config <<EOF
.config:8:warning: unexpected data: CONFIG_TARGET_IMAGES_GZIP=y
.config:9:warning: unexpected data: EOF
.config:17:warning: unexpected data: cat >> .config <<EOF
.config:18:warning: unexpected data: CONFIG_PACKAGE_dnsmasq_full_dhcpv6=y
.config:19:warning: unexpected data: CONFIG_PACKAGE_ipv6helper=y
.config:20:warning: unexpected data: EOF
.config:42:warning: unexpected data: cat >> .config <<EOF
.config:54:warning: unexpected data: CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks=y
.config:56:warning: unexpected data: CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Socks=y
.config:58:warning: unexpected data: CONFIG_PACKAGE_luci-app-ttyd=y
.config:64:warning: unexpected data: EOF
.config:67:warning: unexpected data: cat >> .config <<EOF
.config:68:warning: unexpected data: CONFIG_PACKAGE_luci-theme-argon=y
.config:69:warning: unexpected data: CONFIG_PACKAGE_luci-theme-netgear=y
.config:70:warning: unexpected data: EOF
.config:93:warning: unexpected data: sed -i 's/^[ \t]*//g' ./.config
.config:94:warning: unexpected data: make defconfig
Error opening terminal: unknown.
make[1]: *** [menuconfig] Error 1
/home/runner/work/lede/lede/include/toplevel.mk:136: recipe for target 'menuconfig' failed
make[1]: Leaving directory '/home/runner/work/lede/lede'
make: *** [.config] Error 2
/home/runner/work/lede/lede/include/toplevel.mk:97: recipe for target '.config' failed
##[error]Process completed with exit code 2.
cat >> .config <<EOF
# CONFIG_PACKAGE_luci-app-adbyby-plus is not set
EOF
是这样取消吗? 谢谢
每次修改文件保存后都会自动触发acitons进行编译。请问如何关闭这个功能。需要的时候再打开?
cat >> .config <<EOF
CONFIG_DEFAULT_TARGET_ramips_mt7621=y
CONFIG_TARGET_ramips=y
CONFIG_TARGET_ramips_mt7621=y
CONFIG_TARGET_ramips_mt7621_DEVICE_xiaomi_mir3g=y
CONFIG_TARGET_DEVICE_ramips_mt7621_DEVICE_xiaomi_mir3p=y
CONFIG_HAS_SUBTARGETS=y
CONFIG_HAS_DEVICES=y
CONFIG_TARGET_BOARD="ramips"
CONFIG_TARGET_SUBTARGET="mt7621"
CONFIG_TARGET_ARCH_PACKAGES="mipsel_24kc"
CONFIG_DEFAULT_TARGET_OPTIMIZATION="-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc"
CONFIG_CPU_TYPE="24kc"
EOF
K老大 上周P3TERX通过 tmate 连接到 GitHub Actions 虚拟服务器环境,可直接进行 make menuconfig 操作生成编译配置,不需要修改yml内容了,请问是CI是否也可以支持SSH 云menuconfig。
首先感谢大大自动编译脚本,让我等小白也学会了如何编译固件。
当我按照您的教程将自动更新代码文件merge-upstream.yml下载并上传后,发现如下错误提示,请问如何解决?谢谢指教!
.github/workflows/merge-upstream.yml
Invalid Workflow File
DETAILS
You have an error in your yaml syntax on line 122
ANNOTATIONS
Check failure on line 122 in .github/workflows/merge-upstream.yml
@github-actions
github-actions
/ .github/workflows/merge-upstream.yml
Parse error
You have an error in your yaml syntax on line 122
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.