Skip to content
Snippets Groups Projects
Commit 0f927696 authored by Mattia Mancini's avatar Mattia Mancini
Browse files

Add matrix of tests

parent a22e9095
No related branches found
No related tags found
1 merge request!3Add test for matrix
Pipeline #81444 passed
...@@ -24,13 +24,15 @@ docker-base: ...@@ -24,13 +24,15 @@ docker-base:
- docker/Dockerfile - docker/Dockerfile
.build_das6: .build_das6:
variables:
COMPILER_VERSION: 12.2.0
before_script: before_script:
- module load spack/12.2.0 - module load spack/${COMPILER_VERSION}
- module load cmake - module load cmake
- module load boost - module load boost
- module load casacore - module load casacore
- cmake -B build . -DCMAKE_BUILD_TYPE=Release - cmake -B build-${COMPILER_VERSION} . -DCMAKE_BUILD_TYPE=Release
- make -C build -j - make -C build-${COMPILER_VERSION} -j
.build_docker: .build_docker:
image: "$CI_REGISTRY_IMAGE:latest" image: "$CI_REGISTRY_IMAGE:latest"
...@@ -56,13 +58,18 @@ unittests: ...@@ -56,13 +58,18 @@ unittests:
- build/unittests - build/unittests
collect-performance: # This job runs in the test stage. collect-performance: # This job runs in the test stage.
parallel:
matrix:
- COMPILER_VERSION:
- 9.4.0
- 12.2.0
tags: tags:
- das6-gpu - das6-gpu
stage: benchmark # It only starts when the job in the build stage completes successfully. stage: benchmark # It only starts when the job in the build stage completes successfully.
extends: extends:
- .build_das6 - .build_das6
script: script:
- build/microbenchmarks --benchmark_out=results.json --benchmark_out_format=json - build-${COMPILER_VERSION}/microbenchmarks --benchmark_out=results-${COMPILER_VERSION}.json --benchmark_out_format=json
artifacts: artifacts:
paths: paths:
- ./results*.json - ./results*.json
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment