mirror of
https://github.com/openwrt-xiaomi/builder.git
synced 2026-01-01 19:43:41 +05:00
build: Add step "Monitor memory"
This commit is contained in:
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@@ -278,6 +278,11 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
toolchain-${{ env.G_TARGET_ARCH }}-
|
toolchain-${{ env.G_TARGET_ARCH }}-
|
||||||
|
|
||||||
|
- name: Monitor memory
|
||||||
|
run: |
|
||||||
|
free -h
|
||||||
|
cat /proc/meminfo
|
||||||
|
|
||||||
- name: Build tools and toolchain
|
- name: Build tools and toolchain
|
||||||
id: tools
|
id: tools
|
||||||
if: ${{ steps.configure.outputs.status == 'success' && github.event.inputs.fake_build != 'true' }}
|
if: ${{ steps.configure.outputs.status == 'success' && github.event.inputs.fake_build != 'true' }}
|
||||||
@@ -306,6 +311,11 @@ jobs:
|
|||||||
make target/linux/compile -j$(nproc)
|
make target/linux/compile -j$(nproc)
|
||||||
echo "status=success" >> $GITHUB_OUTPUT
|
echo "status=success" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
- name: Monitor memory 2
|
||||||
|
run: |
|
||||||
|
free -h
|
||||||
|
cat /proc/meminfo
|
||||||
|
|
||||||
- name: Build the firmware image
|
- name: Build the firmware image
|
||||||
id: compile
|
id: compile
|
||||||
if: steps.tools.outputs.status == 'success'
|
if: steps.tools.outputs.status == 'success'
|
||||||
|
|||||||
Reference in New Issue
Block a user