This commit is contained in:
remittor
2026-01-02 22:49:37 +03:00
parent f01482890b
commit a8f744bf4b

View File

@@ -232,7 +232,7 @@ jobs:
if: github.event.inputs.use_cache == 'true' if: github.event.inputs.use_cache == 'true'
uses: actions/cache/restore@v4 uses: actions/cache/restore@v4
with: with:
key: host-tools-${{ hashFiles('tools/**') }} key: host-tools-001-${{ hashFiles('tools/**') }}
path: | path: |
staging_dir/host staging_dir/host
build_dir/host build_dir/host
@@ -354,7 +354,7 @@ jobs:
if: steps.tools.outputs.status == 'success' && github.event.inputs.use_cache != 'true' if: steps.tools.outputs.status == 'success' && github.event.inputs.use_cache != 'true'
uses: actions/cache/save@v4 uses: actions/cache/save@v4
with: with:
key: host-tools-${{ hashFiles('tools/**') }} key: host-tools-001-${{ hashFiles('tools/**') }}
path: | path: |
staging_dir/host staging_dir/host
build_dir/host build_dir/host
@@ -370,12 +370,18 @@ jobs:
- name: Kernel compile - name: Kernel compile
id: kernel id: kernel
if: false # ${{ steps.tools.outputs.status == 'success' && github.event.inputs.fake_build != 'true' }} if: ${{ steps.tools.outputs.status == 'success' && github.event.inputs.fake_build != 'true' }}
run: | run: |
make target/linux/compile -j$(npoc) make target/linux/compile -j$(npoc)
make target/linux/install -j$(npoc) echo "status=success" >> $GITHUB_OUTPUT
make target/linux/dtb -j$(npoc) make package/feeds/packages/mdio-netlink/compile V=s --debug=j
make target/linux/prereq
- name: XXX compile
if: false # ${{ steps.tools.outputs.status == 'success' && github.event.inputs.fake_build != 'true' }}
run: |
make package/utils/lua/host/compile
make package/system/apk/host/compile
make make package/feeds/packages/mdio-netlink/compile V=sc
echo "status=success" >> $GITHUB_OUTPUT echo "status=success" >> $GITHUB_OUTPUT
- name: Monitor memory 2 - name: Monitor memory 2
@@ -403,7 +409,7 @@ jobs:
fi fi
if [ "$FAKE_BUILD" != "true" ]; then if [ "$FAKE_BUILD" != "true" ]; then
if [ "$TEST_BUILD" != "true" ]; then if [ "$TEST_BUILD" != "true" ]; then
make -j$(nproc) download world make -j$(nproc) world
else else
make V=sc world make V=sc world
fi fi