Update .gitlab-ci.yml

This commit is contained in:
FelixBrendel
2020-04-07 09:53:19 +00:00
parent 5280fa6586
commit ef1f8a496a
+7 -3
View File
@@ -1,5 +1,4 @@
default: default:
image: warchantua/dev-essential
artifacts: artifacts:
paths: paths:
- ./bin/slime - ./bin/slime
@@ -12,14 +11,18 @@ stages:
- test - test
build_clang++_d: build_clang++_d:
stage: build_debug stage: build_debug
script: clang++ -D_DEBUG -D_DONT_BREAK_ON_ERRORS src/main.cpp -gfull -gdwarf -o ./bin/slime_d --std=c++17 -I3rd/ script:
- ls ./3rd/ftb
- clang++ -D_DEBUG -D_DONT_BREAK_ON_ERRORS src/main.cpp -gfull -gdwarf -o ./bin/slime_d --std=c++17 -I3rd/
build_g++_d: build_g++_d:
stage: build_debug stage: build_debug
script: g++ -D_DEBUG -D_DONT_BREAK_ON_ERRORS src/main.cpp -gfull -gdwarf -o ./bin/slime_d --std=c++17 -I3rd/ script: g++ -D_DEBUG -D_DONT_BREAK_ON_ERRORS src/main.cpp -g -o ./bin/slime_d --std=c++17 -I3rd/
build_clang++_r: build_clang++_r:
image: warchantua/dev-essential
stage: build_release stage: build_release
script: clang++ -D_DONT_BREAK_ON_ERRORS -O3 src/main.cpp -g -o ./bin/slime --std=c++17 -I3rd/ || exit 1 script: clang++ -D_DONT_BREAK_ON_ERRORS -O3 src/main.cpp -g -o ./bin/slime --std=c++17 -I3rd/ || exit 1
@@ -36,5 +39,6 @@ tests_r:
script: ./bin/sime --run-tests script: ./bin/sime --run-tests
valgrind: valgrind:
image: warchantua/dev-essential
stage: test stage: test
script: valgrind ./bin/sime --run-tests script: valgrind ./bin/sime --run-tests