diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index efb4d6d3aed4118382389416df5e31a87e16e5fd..f77543bd0e6fea7ede726bd208f702740f25e97e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,18 +1,22 @@
 image: whit2333/dd4hep-base:latest
 
-stages:
-  - build
-  - test
+before_script:
+  - pwd
+  - ls -lrth /usr/local/bin
 
-test:
-  stage: test
-  script: echo "Running tests"
-
-build:
-  stage: build
+# Try to compile our sample hello world app
+compile:
+  image: whit2333/dd4hep-base:latest
   script:
-    - mkdir install
-    - mkdir build
-    - cd build
-    - cmake .. -DCMAKE_INSTALL_PREFIX=../install
-    - make -j4 install
+    - ./bin/do_build
+#    - . /usr/local/bin/thisroot.sh
+#    - . /usr/local/bin/thisdd4hep.sh
+#    - . /usr/local/bin/geant4.sh
+#    - mkdir install
+#    - mkdir build
+#    - cd build
+#    - cmake .. -DCMAKE_INSTALL_PREFIX=../install
+#    - make -j4
+
+job2:
+  script: "ls -lrth"
diff --git a/bin/do_build b/bin/do_build
new file mode 100755
index 0000000000000000000000000000000000000000..2714e36a3f1836216baf1a61ff90646c902ab41a
--- /dev/null
+++ b/bin/do_build
@@ -0,0 +1,10 @@
+#!/bin/bash
+ps
+source /usr/local/bin/thisroot.sh
+source /usr/local/bin/thisdd4hep.sh
+source /usr/local/bin/geant4.sh
+mkdir install
+mkdir build
+cd build
+cmake .. -DCMAKE_INSTALL_PREFIX=../install
+make -j4