Commit f2d5c252 authored by Thomas Purcell's avatar Thomas Purcell
Browse files

Add needs to .gitlab-ci

This might run tests earlier
parent 3e16f3fa
...@@ -98,6 +98,7 @@ test-intel-pytest-py: ...@@ -98,6 +98,7 @@ test-intel-pytest-py:
stage: unit_test stage: unit_test
dependencies: dependencies:
- build-intel-py - build-intel-py
needs: ["build-intel-py"]
script: script:
- source cpp_sisso_env_intel_py/bin/activate - source cpp_sisso_env_intel_py/bin/activate
- export I_MPI_ROOT=/home/runner/intel/oneapi/mpi/latest/ - export I_MPI_ROOT=/home/runner/intel/oneapi/mpi/latest/
...@@ -114,6 +115,7 @@ test-intel-pytest-param-py: ...@@ -114,6 +115,7 @@ test-intel-pytest-param-py:
stage: unit_test stage: unit_test
dependencies: dependencies:
- build-intel-param-py - build-intel-param-py
needs: ["build-intel-param-py"]
script: script:
- source cpp_sisso_env_intel_param_py/bin/activate - source cpp_sisso_env_intel_param_py/bin/activate
- export I_MPI_ROOT=/home/runner/intel/oneapi/mpi/latest/ - export I_MPI_ROOT=/home/runner/intel/oneapi/mpi/latest/
...@@ -130,6 +132,7 @@ test-intel-base-googletest: ...@@ -130,6 +132,7 @@ test-intel-base-googletest:
stage: unit_test stage: unit_test
dependencies: dependencies:
- build-intel-base - build-intel-base
needs: ["build-intel-base"]
script: script:
- export I_MPI_ROOT=/home/runner/intel/oneapi/mpi/latest/ - export I_MPI_ROOT=/home/runner/intel/oneapi/mpi/latest/
- export INTEL_COMP_ROOT=/home/runner/intel/oneapi/compiler/latest/linux/ - export INTEL_COMP_ROOT=/home/runner/intel/oneapi/compiler/latest/linux/
...@@ -145,6 +148,7 @@ test-intel-param-googletest: ...@@ -145,6 +148,7 @@ test-intel-param-googletest:
stage: unit_test stage: unit_test
dependencies: dependencies:
- build-intel-param - build-intel-param
needs: ["build-intel-param"]
script: script:
- export I_MPI_ROOT=/home/runner/intel/oneapi/mpi/latest/ - export I_MPI_ROOT=/home/runner/intel/oneapi/mpi/latest/
- export INTEL_COMP_ROOT=/home/runner/intel/oneapi/compiler/latest/linux/ - export INTEL_COMP_ROOT=/home/runner/intel/oneapi/compiler/latest/linux/
...@@ -160,6 +164,7 @@ test-intel-bin-param: ...@@ -160,6 +164,7 @@ test-intel-bin-param:
stage: bin_test stage: bin_test
dependencies: dependencies:
- build-intel-param-py - build-intel-param-py
needs: ["build-intel-param-py"]
script: script:
- source cpp_sisso_env_intel_param_py/bin/activate - source cpp_sisso_env_intel_param_py/bin/activate
- export I_MPI_ROOT=/home/runner/intel/oneapi/mpi/latest/ - export I_MPI_ROOT=/home/runner/intel/oneapi/mpi/latest/
...@@ -177,6 +182,7 @@ test-intel-bin-base: ...@@ -177,6 +182,7 @@ test-intel-bin-base:
stage: bin_test stage: bin_test
dependencies: dependencies:
- build-intel-py - build-intel-py
needs: ["build-intel-py"]
script: script:
- source cpp_sisso_env_intel_py/bin/activate - source cpp_sisso_env_intel_py/bin/activate
- export I_MPI_ROOT=/home/runner/intel/oneapi/mpi/latest/ - export I_MPI_ROOT=/home/runner/intel/oneapi/mpi/latest/
...@@ -262,6 +268,7 @@ test-gnu-pytest-py: ...@@ -262,6 +268,7 @@ test-gnu-pytest-py:
stage: unit_test stage: unit_test
dependencies: dependencies:
- build-gnu-py - build-gnu-py
needs: ["build-gnu-py"]
script: script:
- source cpp_sisso_gnu_py_env/bin/activate - source cpp_sisso_gnu_py_env/bin/activate
- export LD_LIBRARY_PATH=$HOME/intel/oneapi/intelpython/latest/lib/:$HOME/intel/oneapi/intelpython/latest/lib/python3.7:$LD_LIBRARY_PATH - export LD_LIBRARY_PATH=$HOME/intel/oneapi/intelpython/latest/lib/:$HOME/intel/oneapi/intelpython/latest/lib/python3.7:$LD_LIBRARY_PATH
...@@ -274,6 +281,7 @@ test-gnu-pytest-param-py: ...@@ -274,6 +281,7 @@ test-gnu-pytest-param-py:
stage: unit_test stage: unit_test
dependencies: dependencies:
- build-gnu-param-py - build-gnu-param-py
needs: ["build-gnu-param-py"]
script: script:
- source cpp_sisso_gnu_param_py_env/bin/activate - source cpp_sisso_gnu_param_py_env/bin/activate
- export LD_LIBRARY_PATH=$HOME/intel/oneapi/intelpython/latest/lib/:$HOME/intel/oneapi/intelpython/latest/lib/python3.7:$LD_LIBRARY_PATH - export LD_LIBRARY_PATH=$HOME/intel/oneapi/intelpython/latest/lib/:$HOME/intel/oneapi/intelpython/latest/lib/python3.7:$LD_LIBRARY_PATH
...@@ -286,6 +294,7 @@ test-gnu-base-googletest: ...@@ -286,6 +294,7 @@ test-gnu-base-googletest:
stage: unit_test stage: unit_test
dependencies: dependencies:
- build-gnu-base - build-gnu-base
needs: ["build-gnu-base"]
script: script:
- export OMP_NUM_THREADS=2 - export OMP_NUM_THREADS=2
- export OMP_PLACES=cores - export OMP_PLACES=cores
...@@ -296,6 +305,7 @@ test-gnu-param-googletest: ...@@ -296,6 +305,7 @@ test-gnu-param-googletest:
stage: unit_test stage: unit_test
dependencies: dependencies:
- build-gnu-param - build-gnu-param
needs: ["build-gnu-param"]
script: script:
- export OMP_NUM_THREADS=2 - export OMP_NUM_THREADS=2
- export OMP_PLACES=cores - export OMP_PLACES=cores
...@@ -306,6 +316,7 @@ test-gnu-bin-param: ...@@ -306,6 +316,7 @@ test-gnu-bin-param:
stage: bin_test stage: bin_test
dependencies: dependencies:
- build-gnu-param-py - build-gnu-param-py
needs: ["build-gnu-param-py"]
script: script:
- source cpp_sisso_gnu_param_py_env/bin/activate - source cpp_sisso_gnu_param_py_env/bin/activate
- export LD_LIBRARY_PATH=$HOME/intel/oneapi/intelpython/latest/lib/:$HOME/intel/oneapi/intelpython/latest/lib/python3.7:$LD_LIBRARY_PATH - export LD_LIBRARY_PATH=$HOME/intel/oneapi/intelpython/latest/lib/:$HOME/intel/oneapi/intelpython/latest/lib/python3.7:$LD_LIBRARY_PATH
...@@ -319,6 +330,7 @@ test-gnu-bin-base: ...@@ -319,6 +330,7 @@ test-gnu-bin-base:
stage: bin_test stage: bin_test
dependencies: dependencies:
- build-gnu-py - build-gnu-py
needs: ["build-gnu-py"]
script: script:
- source cpp_sisso_gnu_py_env/bin/activate - source cpp_sisso_gnu_py_env/bin/activate
- export LD_LIBRARY_PATH=$HOME/intel/oneapi/intelpython/latest/lib/:$HOME/intel/oneapi/intelpython/latest/lib/python3.7:$LD_LIBRARY_PATH - export LD_LIBRARY_PATH=$HOME/intel/oneapi/intelpython/latest/lib/:$HOME/intel/oneapi/intelpython/latest/lib/python3.7:$LD_LIBRARY_PATH
...@@ -372,6 +384,7 @@ pages: ...@@ -372,6 +384,7 @@ pages:
stage: doc_builds stage: doc_builds
dependencies: dependencies:
- build-gnu-lcov - build-gnu-lcov
needs: ["build-gnu-lcov"]
script: script:
- source cpp_sisso_gnu_lcov_env/bin/activate - source cpp_sisso_gnu_lcov_env/bin/activate
- export LD_LIBRARY_PATH=$HOME/intel/oneapi/intelpython/latest/lib/:$HOME/intel/oneapi/intelpython/latest/lib/python3.7/:$LD_LIBRARY_PATH - export LD_LIBRARY_PATH=$HOME/intel/oneapi/intelpython/latest/lib/:$HOME/intel/oneapi/intelpython/latest/lib/python3.7/:$LD_LIBRARY_PATH
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment