mirror of
https://github.com/openwrt-xiaomi/builder.git
synced 2026-02-02 23:47:48 +05:00
test 2
This commit is contained in:
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
@@ -232,7 +232,7 @@ jobs:
|
||||
if: github.event.inputs.use_cache == 'true'
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
key: host-tools-${{ hashFiles('tools/**') }}
|
||||
key: host-tools-001-${{ hashFiles('tools/**') }}
|
||||
path: |
|
||||
staging_dir/host
|
||||
build_dir/host
|
||||
@@ -354,7 +354,7 @@ jobs:
|
||||
if: steps.tools.outputs.status == 'success' && github.event.inputs.use_cache != 'true'
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
key: host-tools-${{ hashFiles('tools/**') }}
|
||||
key: host-tools-001-${{ hashFiles('tools/**') }}
|
||||
path: |
|
||||
staging_dir/host
|
||||
build_dir/host
|
||||
@@ -370,12 +370,18 @@ jobs:
|
||||
|
||||
- name: Kernel compile
|
||||
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: |
|
||||
make target/linux/compile -j$(npoc)
|
||||
make target/linux/install -j$(npoc)
|
||||
make target/linux/dtb -j$(npoc)
|
||||
make target/linux/prereq
|
||||
echo "status=success" >> $GITHUB_OUTPUT
|
||||
make package/feeds/packages/mdio-netlink/compile V=s --debug=j
|
||||
|
||||
- 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
|
||||
|
||||
- name: Monitor memory 2
|
||||
@@ -403,7 +409,7 @@ jobs:
|
||||
fi
|
||||
if [ "$FAKE_BUILD" != "true" ]; then
|
||||
if [ "$TEST_BUILD" != "true" ]; then
|
||||
make -j$(nproc) download world
|
||||
make -j$(nproc) world
|
||||
else
|
||||
make V=sc world
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user