From 0f0ecb819a6e7ed448df567bf32875f2c04dec6a Mon Sep 17 00:00:00 2001
From: mancini <mancini@astron.nl>
Date: Mon, 6 May 2024 21:26:58 +0200
Subject: [PATCH] Fix build

---
 .gitlab-ci.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2a86170..0b93138 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:
-- 
GitLab