fix
# Conflicts: # .github/workflows/lo-test.yml
This commit is contained in:
18
.github/workflows/lo-test.yml
vendored
18
.github/workflows/lo-test.yml
vendored
@@ -119,13 +119,16 @@ jobs:
|
|||||||
ulimit -SHn 65000
|
ulimit -SHn 65000
|
||||||
cd ~/lede
|
cd ~/lede
|
||||||
while true; do make download -j && break || true; done
|
while true; do make download -j && break || true; done
|
||||||
if [ `nproc` -lt 8 ] && con = `nproc`/2+3 || con = `nproc`
|
if [ -d build_dir ]; then
|
||||||
make -j$con IGNORE_ERRORS=1 tools/compile toolchain/compile buildinfo target/compile package/compile package/install target/install
|
make -j$con IGNORE_ERRORS=1 tools/compile toolchain/compile buildinfo target/compile package/compile package/install target/install
|
||||||
if [ ! -e ~/lede/bin/targets/*/*/*imagebuilder*xz ]; then
|
if [ ! -e ~/lede/bin/targets/*/*/*imagebuilder*xz ]; then
|
||||||
df -h
|
df -h
|
||||||
make V=sc
|
make V=sc
|
||||||
fi
|
fi
|
||||||
mv `ls ~/lede/bin/targets/*/*/*imagebuilder*xz` ~/ib-$DEVICE.tar.xz
|
mv `ls ~/lede/bin/targets/*/*/*imagebuilder*xz` ~/ib-$DEVICE.tar.xz
|
||||||
|
else
|
||||||
|
make -j$con IGNORE_ERRORS=1 tools/compile toolchain/compile
|
||||||
|
fi
|
||||||
|
|
||||||
echo "======================="
|
echo "======================="
|
||||||
echo "Space usage:"
|
echo "Space usage:"
|
||||||
@@ -140,8 +143,7 @@ jobs:
|
|||||||
cd
|
cd
|
||||||
mkdir -p ./artifact/buildinfo
|
mkdir -p ./artifact/buildinfo
|
||||||
cd lede
|
cd lede
|
||||||
cp -rf $(find ./bin/targets/ -type f -name "*.buildinfo" -o -name "*.manifest") ../artifact/buildinfo/
|
cp -rf .config $(find ./bin/targets/ -type f -name "*.buildinfo" -o -name "*.manifest") ../artifact/buildinfo/
|
||||||
cp -rf .config ../artifact/buildinfo/
|
|
||||||
echo "strDate=$(TZ=UTC-8 date +%Y-%m-%d)" >> $GITHUB_ENV
|
echo "strDate=$(TZ=UTC-8 date +%Y-%m-%d)" >> $GITHUB_ENV
|
||||||
echo "strDevice=$(echo $DEVICE | awk '{print toupper($0)}')" >> $GITHUB_ENV
|
echo "strDevice=$(echo $DEVICE | awk '{print toupper($0)}')" >> $GITHUB_ENV
|
||||||
cd ..
|
cd ..
|
||||||
|
|||||||
Reference in New Issue
Block a user