mirror of
https://github.com/xopenwrt/X-OpenWrt-New.git
synced 2026-09-18 00:10:09 +00:00
add build check
This commit is contained in:
@@ -220,7 +220,10 @@ jobs:
|
||||
ln -s ../../../package/other/AutoBuild-Packages/adguardhome package/feeds/packages/adguardhome
|
||||
# 2024.03.03 mosdns build fail by golang 1.22
|
||||
sed -i 's/CGO_ENABLED=0/CGO_ENABLED=1/g' feeds/packages/net/mosdns/Makefile
|
||||
make -j4 | tee ./build_log.log || make -j1 V=s
|
||||
make -j4 2>&1 | tee build_log.log
|
||||
if [ "${PIPESTATUS[0]}" -ne 0 ]; then
|
||||
make -j1 V=s
|
||||
fi
|
||||
[ "$?" == 0 ] && echo "Result=true" >> $GITHUB_ENV || echo "Result=false" >> $GITHUB_ENV
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user