From 7bfe3ec68265cdd235043be10835ba065a04fc46 Mon Sep 17 00:00:00 2001 From: David Bauer <mail@david-bauer.net> Date: Wed, 8 Nov 2023 00:42:10 +0100 Subject: [PATCH] ci: collect basic system information Collect some basic system information about the runners the CI jobs run on. This is done iwth the intention to have diagnostics information in advance in case builds fail spuriously in some instances. Signed-off-by: David Bauer <mail@david-bauer.net> --- .github/workflows/build-gluon.yml | 3 +++ contrib/actions/show-system-info.sh | 16 ++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100755 contrib/actions/show-system-info.sh diff --git a/.github/workflows/build-gluon.yml b/.github/workflows/build-gluon.yml index c5d327f7..f395b9d5 100644 --- a/.github/workflows/build-gluon.yml +++ b/.github/workflows/build-gluon.yml @@ -41,6 +41,9 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Show system information + run: contrib/actions/show-system-info.sh + - name: Install Dependencies run: sudo contrib/actions/install-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 -- GitLab