build: Add step "Monitor memory"

This commit is contained in:
remittor
2025-12-31 18:55:52 +03:00
parent 757b9b3676
commit 88a9ebe300

View File

@@ -278,6 +278,11 @@ jobs:
restore-keys: |
toolchain-${{ env.G_TARGET_ARCH }}-
- name: Monitor memory
run: |
free -h
cat /proc/meminfo
- name: Build tools and toolchain
id: tools
if: ${{ steps.configure.outputs.status == 'success' && github.event.inputs.fake_build != 'true' }}
@@ -306,6 +311,11 @@ jobs:
make target/linux/compile -j$(nproc)
echo "status=success" >> $GITHUB_OUTPUT
- name: Monitor memory 2
run: |
free -h
cat /proc/meminfo
- name: Build the firmware image
id: compile
if: steps.tools.outputs.status == 'success'