From eb8e5bc9643e7e4c482fee155575669cbbfa5e71 Mon Sep 17 00:00:00 2001
From: Orestis <orestis.malaspinas@hesge.ch>
Date: Mon, 24 Aug 2020 21:41:00 +0200
Subject: [PATCH] trying to compile also practical work

---
 .gitlab-ci.yml | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 05a1e07..b06ae58 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,4 @@
-image: omalaspinas/pandoc:latest
+image: omalaspinas/c_pandoc:latest
 
 variables:
   GIT_SUBMODULE_STRATEGY: recursive
@@ -34,9 +34,23 @@ before_script:
 build_only:
   script:
     - make
+
+build_and_deploy:
+  scirpt:
+    - make
     - make deploy
     - rsync -avzz phys ur1bg_malas@ur1bg.ftp.infomaniak.com:web/malaspinas/
 
+build_practical_work:
+  script:
+    - cd travaux_pratiques/vec2
+    - make
+
+build_and_test_practical_work:
+  script:
+    - cd travaux_pratiques/vec2
+    - make test
+
 build_artifacts:
   script:
     - make
-- 
GitLab