ci: Print some metadata at the start of the build

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7816>
This commit is contained in:
Jordan Petridis 2025-02-27 15:25:02 +02:00 committed by GStreamer Marge Bot
parent b9c3e7c162
commit ca44d76c4f
2 changed files with 13 additions and 0 deletions

View File

@ -2,6 +2,18 @@
image_cache="${SUBPROJECTS_CACHE_DIR:-}"
# Print useful metadata at the start of the build
if [[ -e "/etc/os-release" ]]; then
cat /etc/os-release
fi
whoami
id -u
id -g
date && date -u
echo $SHELL
echo $PATH
# On the CI image we install the rust toolcahin under this path
# If it exists set the HOME and PATH variables and print the versions
# of what we have installed

View File

@ -2,4 +2,5 @@
set -e
rustfmt --version
find -name "*.rs" -exec rustfmt "$@" --edition 2021 {} +