Skip to content
Snippets Groups Projects
Commit 8ef87aa2 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[ci] Also install libegl1 via apt

parent 57048d9b
No related branches found
No related tags found
No related merge requests found
Pipeline #86813 failed
......@@ -13,20 +13,28 @@ variables:
GIT_SUBMODULE_DEPTH: 1
.snippets:
apt-install-libgl:
apt-install-libs:
# apt install libgl1-mesa-glx for grad-cam
- |
if [[ ${CI_RUNNER_TAGS} =~ '"docker"' ]]; then \
apt update; \
apt install -y libgl1-mesa-glx > /dev/null; \
apt install -y libegl1 libgl1-mesa-glx > /dev/null; \
fi
tests:
before_script:
- !reference [.snippets, setup-pixi]
- !reference [.snippets, apt-install-libgl]
- !reference [.snippets, apt-install-libs]
cache:
key: test-cache-${TAG}-${PYTHON}
paths:
- _cache/torch
documentation:
before_script:
- !reference [.snippets, setup-pixi]
- !reference [.snippets, apt-install-libgl]
- !reference [.snippets, apt-install-libs]
cache:
key: doc-cache
paths:
- _cache/torch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment