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

[ci] Install libGL for tests and documentation

parent 9e5b881e
No related branches found
No related tags found
No related merge requests found
Pipeline #78551 failed
...@@ -10,3 +10,15 @@ include: ...@@ -10,3 +10,15 @@ include:
variables: variables:
GIT_SUBMODULE_STRATEGY: normal GIT_SUBMODULE_STRATEGY: normal
GIT_SUBMODULE_DEPTH: 1 GIT_SUBMODULE_DEPTH: 1
documentation:
before_script:
- apt-get update && apt-get install -y libgl1-mesa-glx > /dev/null
- export OMP_NUM_THREADS=1
- !reference [.snippets, doc-prepare]
tests:
before_script:
- if [ "$TAG" == "docker" ]; then apt-get update && apt-get install -y libgl1-mesa-glx > /dev/null; fi
- 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