Skip to content
Snippets Groups Projects
Commit 3a3775e7 authored by Daniel CARRON's avatar Daniel CARRON :b:
Browse files

[gitlab-ci] Re-add libgl1 installation command

parent fe2562b5
No related branches found
No related tags found
3 merge requests!19Fix Issues when running tests on the CI,!18Update tests,!16Make square centre-padding a model transform
Pipeline #84160 failed
......@@ -12,9 +12,16 @@ variables:
GIT_SUBMODULE_DEPTH: 1
XDG_CONFIG_HOME: $CI_PROJECT_DIR/tests/data
documentation:
before_script:
# for opencv-python dependence
- apt-get update && apt-get install -y libgl1-mesa-glx > /dev/null
- !reference [.snippets, doc-prepare]
tests:
before_script:
- ls /idiap/resource/database/*
# for opencv-python dependence
- if [ "$TAG" == "docker" ]; then apt-get update && apt-get install -y libgl1-mesa-glx > /dev/null; fi
# for pytorch quirks on linux
- if [ "$TAG" == "docker" ]; then export OMP_NUM_THREADS=1; fi # Set the number of threads used to 1
- !reference [.snippets, test-prepare]
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