From 02b04c7dc13c1d815abb2d46b11df09dc8c71aa4 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sun, 18 Feb 2024 12:22:02 +0100 Subject: [PATCH] added why2-logger-test job --- .gitlab-ci.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 60c2b12..e015fa6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,6 +19,8 @@ variables: SERVER: "./out/why2-chat-server" CORE_OUTPUT: "./out/why2-core-test" CORE_APP: "why2" + LOGGER_OUTPUT: "./out/why2-logger-test" + LOGGER_APP: "why2-logger" VALGRIND: "valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s" why2-chat-build: @@ -48,4 +50,18 @@ why2-core-test: - make test_core # Build WHY2 Test - ./$CORE_OUTPUT # Test Lib - $CORE_APP # Test App - - $VALGRIND $CORE_OUTPUT # Test Lib by Valgrind \ No newline at end of file + - $VALGRIND $CORE_OUTPUT # Test Lib by Valgrind + +why2-logger-test: + stage: build + image: rust:latest + script: + - apt update # Update repos + - apt install sudo lsb-release valgrind -y # Install needed stuff + - chmod +x configure.sh # Permissions + - sudo ./configure.sh # Preparation + - make install BYPASS_CHECK=true # Install WHY2 + - make test_logger # Build WHY2 Test + - ./$LOGGER_OUTPUT # Test Lib + - $LOGGER_APP # Test App + - $VALGRIND $LOGGER_OUTPUT # Test Lib by Valgrind \ No newline at end of file