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

[ci] Simplify and annotate with comments

parent 96f7a00d
No related branches found
No related tags found
No related merge requests found
Pipeline #78552 failed
...@@ -13,12 +13,14 @@ variables: ...@@ -13,12 +13,14 @@ variables:
documentation: documentation:
before_script: before_script:
# for opencv-python dependence
- apt-get update && apt-get install -y libgl1-mesa-glx > /dev/null - apt-get update && apt-get install -y libgl1-mesa-glx > /dev/null
- export OMP_NUM_THREADS=1
- !reference [.snippets, doc-prepare] - !reference [.snippets, doc-prepare]
tests: tests:
before_script: before_script:
# for opencv-python dependence
- if [ "$TAG" == "docker" ]; then apt-get update && apt-get install -y libgl1-mesa-glx > /dev/null; fi - 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 - if [ "$TAG" == "docker" ]; then export OMP_NUM_THREADS=1; fi # Set the number of threads used to 1
- !reference [.snippets, test-prepare] - !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