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