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:
parent
b9c3e7c162
commit
ca44d76c4f
@ -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
|
||||
|
@ -2,4 +2,5 @@
|
||||
|
||||
set -e
|
||||
|
||||
rustfmt --version
|
||||
find -name "*.rs" -exec rustfmt "$@" --edition 2021 {} +
|
||||
|
Loading…
x
Reference in New Issue
Block a user