We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f1cd67 commit 9a0cb18Copy full SHA for 9a0cb18
.github/workflows/build-openwrt.yml
@@ -116,8 +116,8 @@ jobs:
116
id: compile
117
run: |
118
cd ${GITHUB_WORKSPACE}/openwrt
119
- echo -e "$(nproc) thread compile"
120
- make -j$(nproc) || make -j1 V=s
+ echo -e "$(($(nproc) * 2)) thread compile"
+ make -j$(($(nproc) * 2)) || make -j1 V=s
121
echo "status=success" >> $GITHUB_OUTPUT
122
grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME
123
[ -s DEVICE_NAME ] && echo "DEVICE_NAME=_$(cat DEVICE_NAME)" >> $GITHUB_ENV
0 commit comments