Update .gitlab-ci.yml
This commit is contained in:
+7
-3
@@ -1,5 +1,4 @@
|
||||
default:
|
||||
image: warchantua/dev-essential
|
||||
artifacts:
|
||||
paths:
|
||||
- ./bin/slime
|
||||
@@ -12,14 +11,18 @@ stages:
|
||||
- test
|
||||
|
||||
build_clang++_d:
|
||||
|
||||
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:
|
||||
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:
|
||||
image: warchantua/dev-essential
|
||||
stage: build_release
|
||||
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
|
||||
|
||||
valgrind:
|
||||
image: warchantua/dev-essential
|
||||
stage: test
|
||||
script: valgrind ./bin/sime --run-tests
|
||||
|
||||
Reference in New Issue
Block a user