mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
ci: Adds /usr/local/bin to PATH at piglit-traces.sh
yq and ci-fairy are installed in /usr/local/bin but on
script execution that route is not included by default
for all runners.
Identified on RPI4 runners.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27748>
(cherry picked from commit babb82d81a)
This commit is contained in:
parent
5131484a30
commit
cc34111ec0
2 changed files with 5 additions and 1 deletions
|
|
@ -15,6 +15,10 @@ mkdir -p "$RESULTS"
|
|||
|
||||
export PIGLIT_REPLAY_DESCRIPTION_FILE="$INSTALL/$PIGLIT_TRACES_FILE"
|
||||
|
||||
# FIXME: guess why /usr/local/bin is not included in all runners PATH.
|
||||
# Needed because yq and ci-fairy are installed there.
|
||||
PATH="/usr/local/bin:$PATH"
|
||||
|
||||
if [ "$PIGLIT_REPLAY_SUBCOMMAND" = "profile" ]; then
|
||||
yq -iY 'del(.traces[][] | select(.label[]? == "no-perf"))' \
|
||||
"$PIGLIT_REPLAY_DESCRIPTION_FILE"
|
||||
|
|
|
|||
|
|
@ -3524,7 +3524,7 @@
|
|||
"description": "ci: Adds /usr/local/bin to PATH at piglit-traces.sh",
|
||||
"nominated": false,
|
||||
"nomination_type": 3,
|
||||
"resolution": 4,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue