Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
# Conflicts:
#	.github/workflows/lo-test.yml
  • Loading branch information
stupidloud committed Feb 12, 2024
1 parent 53eccfb commit e7888ce
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/lo-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,16 @@ jobs:
ulimit -SHn 65000
cd ~/lede
while true; do make download -j && break || true; done
if [ `nproc` -lt 8 ] && con = `nproc`/2+3 || con = `nproc`
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
df -h
make V=sc
fi
if [ -d build_dir ]; then
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
df -h
make V=sc
fi
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 "Space usage:"
Expand All @@ -140,8 +143,7 @@ jobs:
cd
mkdir -p ./artifact/buildinfo
cd lede
cp -rf $(find ./bin/targets/ -type f -name "*.buildinfo" -o -name "*.manifest") ../artifact/buildinfo/
cp -rf .config ../artifact/buildinfo/
cp -rf .config $(find ./bin/targets/ -type f -name "*.buildinfo" -o -name "*.manifest") ../artifact/buildinfo/
echo "strDate=$(TZ=UTC-8 date +%Y-%m-%d)" >> $GITHUB_ENV
echo "strDevice=$(echo $DEVICE | awk '{print toupper($0)}')" >> $GITHUB_ENV
cd ..
Expand Down

0 comments on commit e7888ce

Please sign in to comment.