build: the proper way
This commit is contained in:
10
.github/workflows/lo-test.yml
vendored
10
.github/workflows/lo-test.yml
vendored
@@ -92,16 +92,10 @@ jobs:
|
||||
run: |
|
||||
cd ~/lede
|
||||
cat $GITHUB_WORKSPACE/extra_packages.seed >> .config
|
||||
find package/ -type d -name luci-app-* | rev | cut -d'/' -f1 | rev | xargs -n1 -i echo CONFIG_PACKAGE_{}=y >> .config
|
||||
find package/ -type d -name luci-app-* | rev | cut -d'/' -f1 | rev | xargs -n1 -i echo CONFIG_PACKAGE_{}=m >> .config
|
||||
make defconfig && cat .config
|
||||
while true; do make download -j && break || true; done
|
||||
make tools/compile -j$[`nproc`+1]
|
||||
make toolchain/compile -j$[`nproc`+1]
|
||||
make target/linux/compile -j$[`nproc`+1]
|
||||
make package/compile -j$[`nproc`+1] IGNORE_ERRORS=y
|
||||
make package/index
|
||||
sed -i "s/\-[a-z0-9]\{32\})/)/" bin/targets/*/*/packages/Packages bin/targets/*/*/packages/Packages.manifest
|
||||
gzip -f bin/targets/*/*/packages/Packages
|
||||
make -j$[`nproc`+1] IGNORE_ERRORS=1
|
||||
|
||||
cat $GITHUB_WORKSPACE/$DEVICE.config.seed | sed '/CONFIG_PACKAGE_luci-app-/d' > .config
|
||||
find package/ -type d -name luci-app-* | rev | cut -d'/' -f1 | rev | xargs -n1 -i echo "# CONFIG_PACKAGE_{} is not set" >> .config
|
||||
|
||||
Reference in New Issue
Block a user