added why2-core-test into gitlab-ci
This commit is contained in:
parent
d765f287e6
commit
9c92ae394b
@ -17,6 +17,9 @@
|
|||||||
variables:
|
variables:
|
||||||
CLIENT: "./out/why2-chat-client"
|
CLIENT: "./out/why2-chat-client"
|
||||||
SERVER: "./out/why2-chat-server"
|
SERVER: "./out/why2-chat-server"
|
||||||
|
CORE_OUTPUT: "./out/why2-core-test"
|
||||||
|
CORE_APP: "why2"
|
||||||
|
VALGRIND: "valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s"
|
||||||
|
|
||||||
why2-chat-build:
|
why2-chat-build:
|
||||||
stage: build
|
stage: build
|
||||||
@ -31,4 +34,18 @@ why2-chat-build:
|
|||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- $CLIENT
|
- $CLIENT
|
||||||
- $SERVER
|
- $SERVER
|
||||||
|
|
||||||
|
why2-core-test:
|
||||||
|
stage: build
|
||||||
|
image: rust:latest
|
||||||
|
script:
|
||||||
|
- apt update
|
||||||
|
- apt install sudo lsb-release -y
|
||||||
|
- chmod +x configure.sh
|
||||||
|
- sudo ./configure.sh
|
||||||
|
- make install BYPASS_CHECK=true
|
||||||
|
- make test_core
|
||||||
|
- ./$CORE_OUTPUT
|
||||||
|
- $APP
|
||||||
|
- $VALGRIND $APP
|
Loading…
x
Reference in New Issue
Block a user