diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2a86170069f8687c73141530890ca863d354e0f5..0b93138d7ce3c33e879917ed936d155e93557249 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,11 +8,6 @@ build-job: # This job runs in the build stage, which runs first. before_script: - module load spack - module load cmake - artifacts: - paths: - - build - expire_in: 20 minutes - tags: - das6-gpu script: @@ -25,7 +20,12 @@ collect-performance: # This job runs in the test stage. stage: test # It only starts when the job in the build stage completes successfully. dependencies: - build-job + before_script: + - module load spack + - module load cmake script: + - cmake -B build . + - make -C build - build/microbenchmarks --benchmark_out=results.json --benchmark_out_format=json artifacts: paths: