From d387d9acd5ae258f4df1ee6a7b927b4f3d52ebbf Mon Sep 17 00:00:00 2001
From: David Hoese <david.hoese@ssec.wisc.edu>
Date: Fri, 3 Jul 2020 16:40:45 -0500
Subject: [PATCH] Try building hello statically

---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5fe8c4d..7b379d2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -36,7 +36,7 @@ build_hello_world:
     - ssec_shared
   image: gcc:9
   script:
-    - gcc -o hello src/hello_world.c
+    - gcc -static -o hello src/hello_world.c
   artifacts:
     paths:
       - hello
@@ -54,7 +54,7 @@ tests:
     - echo ${PWD}
     - export PATH="$PATH:${PWD}"
     - echo $PATH
-    - hello
+    - ./hello
     - pip install pytest pytest-cov
     - pytest --cov=. test.py
   coverage: '/TOTAL.*\s+(\d+%)$/'
-- 
GitLab