diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 123cc0f98b79b5fa93c8fc6e841ce1323c44505f..dbfc073be8ffadd1168b8c42db9c7fff384bd0c1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -29,14 +29,16 @@ ubuntu_boost_system:
         - cp exprtk/exprtk.hpp /usr/include
         - export TERM=xterm
         - cd build_scripts/linux
+        - export DEPENDENCIES_LINK_TYPE=shared
         - ./linux_gcc_build_x64_debug_system.sh
 
     script:
         - './linux_run_tests.sh'
 
 # Latest Ubuntu with Boost and Exprtk
-# compiled locally as submodules
-ubuntu_boost_local:
+# compiled locally as submodules and
+# linked statically
+ubuntu_boost_local_static_deps:
     tags:
         - centos7
 
@@ -47,9 +49,29 @@ ubuntu_boost_local:
         - ./download_dependencies.sh
         - cd ../..
         - cd build_scripts/linux
-        - ./linux_gcc_build_x64_debug.sh
+        - export DEPENDENCIES_LINK_TYPE=static
+        - ./linux_gcc_build_x64_debug_local.sh
 
     script:
         - './linux_run_tests.sh'
 
+# Latest Ubuntu with Boost and Exprtk
+# compiled locally as submodules and
+# linked dynamically
+ubuntu_boost_local_dynamic_deps:
+    tags:
+        - centos7
+
+    image: martinbeseda/ubuntu-ci:latest
+
+    before_script:
+        - cd build_scripts/linux
+        - ./download_dependencies.sh
+        - cd ../..
+        - cd build_scripts/linux
+        - export DEPENDENCIES_LINK_TYPE=shared
+        - ./linux_gcc_build_x64_debug_local.sh
+
+    script:
+        - './linux_run_tests.sh'