4 export DEBIAN_FRONTEND
=noninteractive
10 sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc
/apt
/sources.list
14 # Ephemeral packages (installed for this script and removed again at the end)
65 python3-pytest-timeout \
67 python3-requests-mock \
76 pip3
install pytest-pythonpath
77 pip3
install pytest-raises
79 # Download Waffle artifacts. See also
80 # https://gitlab.freedesktop.org/mesa/waffle/-/merge_requests/89
81 # https://docs.gitlab.com/ee/ci/pipelines/job_artifacts.html#downloading-the-latest-artifacts
82 for target
in mingw32 mingw64
84 mkdir
-p /opt
/waffle
/$target
85 curl
-s -L "https://gitlab.freedesktop.org/mesa/waffle/-/jobs/artifacts/${WAFFLE_BRANCH:-maint-1.7}/raw/publish/$target/waffle-$target.zip?job=cmake-mingw" -o /tmp
/waffle-
$target.
zip
86 unzip -qo /tmp
/waffle-
$target.
zip -d /opt
/waffle
/$target
87 test -d /opt
/waffle
/$target/waffle
88 rm /tmp
/waffle-
$target.
zip
92 apt-get purge
-y $EPHEMERAL
93 apt-get autoremove
-y --purge