From 813a682c1ad5843e588eb1fd5a6149ba0704209e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joan=20Vallv=C3=A9=20Navarro?= <jvallve@iri.upc.edu>
Date: Thu, 16 Dec 2021 09:45:39 +0100
Subject: [PATCH] CI: image with 20.04 and solved small bug

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7ca5f952c..52efc57ab 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -66,6 +66,7 @@ stages:
   - if [ -d wolf ]; then
   -   echo "directory wolf exists"
   -   cd wolf
+  -   git checkout devel
   -   git pull
   -   git checkout $WOLF_CORE_BRANCH
   - else
@@ -164,3 +165,24 @@ build_and_test:bionic:
     - ldconfig # update links (shared libraries)
   script:
     - *build_and_test_definition
+
+############ UBUNTU 20.04 TESTS ############
+build_and_test:focal:
+  image: labrobotica/wolf_deps:20.04
+  stage: build_and_test
+  cache:
+    - key: wolf-focal
+      paths:
+      - ci_deps/wolf/
+    - key: gnssutils-focal
+      paths:
+      - ci_deps/gnss_utils/
+  except:
+    - master
+  before_script:
+    - *preliminaries_definition
+    - *install_wolf_definition
+    - *install_gnssutils_definition
+    - ldconfig # update links (shared libraries)
+  script:
+    - *build_and_test_definition
-- 
GitLab