From bd6deca62e15bad4512c07974ccb7eb2b164acb8 Mon Sep 17 00:00:00 2001 From: "Marcel M. Otte" Date: Mon, 18 Apr 2016 18:04:56 +0200 Subject: [PATCH] added .gitlab-ci.yml and wrote cpp build script --- .gitlab-ci.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..3baf970 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,30 @@ +image: gcc:latest +stages: + - build + +build-c: + stage: build + script: + - cd c; make + artifacts: + paths: + - c/libcmdlineoptions.* + - c/tests-* + +build-cpp: + stage: build + script: + - cd cpp; mkdir build; cd build + - cmake .. + - make + artifacts: + paths: + - cpp/build/libCmdLineOptions.so + - cpp/build/libCmdLineOptions_static.a + +#test-c: + #stage: test + #script: + #- cd c; make test + #dependencies: + #- build-c