added .gitlab-ci.yml and wrote cpp build script
This commit is contained in:
parent
50b8645f8c
commit
bd6deca62e
|
@ -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
|
Loading…
Reference in New Issue