From 3e5046cbcc4cb8dbdc083b715e4af80cd354bcd5 Mon Sep 17 00:00:00 2001
From: mkirsz <s1351949@sms.ed.ac.uk>
Date: Mon, 11 Mar 2024 12:00:35 +0000
Subject: [PATCH] Example testing tweaks...

---
 .gitlab-ci.yml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e23145d..c5c7400 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -102,6 +102,9 @@ build-example-1-static:
     - cp ${RELEASE_DIR}/libtadah.a ~/.local/lib/.
     - cd ${RELEASE_DIR}/examples/ex_1
     - g++ -O3 ex1.cpp -ltadah -llapack -fopenmp
+  artifacts:
+    paths:
+      - $RELEASE_DIR/examples/ex_1/a.out
 
 build-example-2-static:
   stage: build.examples
@@ -110,6 +113,9 @@ build-example-2-static:
     - cp ${RELEASE_DIR}/libtadah.a ~/.local/lib/.
     - cd ${RELEASE_DIR}/examples/ex_2
     - g++ -O3 ex2.cpp -ltadah -llapack -fopenmp
+  artifacts:
+    paths:
+      - $RELEASE_DIR/examples/ex_2/a.out
 
 build-example-1-shared:
   stage: build.examples
@@ -118,6 +124,9 @@ build-example-1-shared:
     - cp ${RELEASE_DIR}/libtadah.so ~/.local/lib/.
     - cd ${RELEASE_DIR}/examples/ex_1
     - g++ -O3 ex1.cpp -ltadah -llapack -fopenmp
+  artifacts:
+    paths:
+      - $RELEASE_DIR/examples/ex_1/a.out
 
 build-example-2-shared:
   stage: build.examples
@@ -126,6 +135,9 @@ build-example-2-shared:
     - cp ${RELEASE_DIR}/libtadah.so ~/.local/lib/.
     - cd ${RELEASE_DIR}/examples/ex_2
     - g++ -O3 ex2.cpp -ltadah -llapack -fopenmp
+  artifacts:
+    paths:
+      - $RELEASE_DIR/examples/ex_2/a.out
 
 run-example-1-static:
   stage: run.examples
-- 
GitLab