diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 64dc9c205e1e4de020cd1ec4bbba9d15b7809f44..1a43b33cc131318364973f30b51b97d05fd61753 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -41,14 +41,19 @@ build:fedora-wayland:
     - mkdir build && cd build
     - cmake ..
     - make
+  artifacts:
+    paths:
+      - build/fggl/
+      - build/tests/
+      - build/demos/
 
 test:fedora-wayland:
   extends: .fedora-wayland
   stage: test
   script:
-    - mkdir build && cd build
-    - cmake .. && make
-    - ./tests/testfggl/fggl_test
+    - cd build && ./tests/testfggl/fggl_test
+  dependencies:
+    - build:fedora-wayland
 
 #unit-test-job:   # This job runs in the test stage.
 #  stage: test    # It only starts when the job in the build stage completes successfully.