From 43b412d0a31e95967e4916e694b3609c045366fa Mon Sep 17 00:00:00 2001 From: Tobias <5702338+T0biii@users.noreply.github.com> Date: Mon, 4 Nov 2024 10:28:26 +0000 Subject: [PATCH] add system info Co-authored-by: David Bauer --- .github/workflows/firmware.yml | 4 ++++ contrib/actions/show-system-info.sh | 16 ++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100755 contrib/actions/show-system-info.sh diff --git a/.github/workflows/firmware.yml b/.github/workflows/firmware.yml index 536095c1..615c02c8 100644 --- a/.github/workflows/firmware.yml +++ b/.github/workflows/firmware.yml @@ -53,6 +53,10 @@ jobs: uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 with: fetch-depth: 0 + + - name: Show system information + run: contrib/actions/show-system-info.sh + - name: Install build dependencies run: | sudo -E ./scripts/install_build_dependencies.sh diff --git a/contrib/actions/show-system-info.sh b/contrib/actions/show-system-info.sh new file mode 100755 index 00000000..5e449e09 --- /dev/null +++ b/contrib/actions/show-system-info.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +echo "-- CPU --" +cat /proc/cpuinfo + +echo "-- Memory --" +cat /proc/meminfo + +echo "-- Disk --" +df -h + +echo "-- Kernel --" +uname -a + +echo "-- Network --" +ip addr