Skip to content

Commit

Permalink
add system info
Browse files Browse the repository at this point in the history
Co-authored-by: David Bauer <[email protected]>
  • Loading branch information
T0biii and blocktrron authored Nov 4, 2024
1 parent f76df97 commit 43b412d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/firmware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 16 additions & 0 deletions contrib/actions/show-system-info.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 43b412d

Please sign in to comment.