added comments to gitlab-ci

This commit is contained in:
Václav Šmejkal 2024-02-18 11:23:38 +01:00
parent 9c92ae394b
commit 2837ace7f4
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -23,14 +23,14 @@ variables:
why2-chat-build: why2-chat-build:
stage: build stage: build
image: rust:latest image: rust:latest # Fixes cargo installation problems in ./configure.sh
script: script:
- apt update - apt update # Update repos
- apt install sudo lsb-release -y - apt install sudo lsb-release -y # Install needed stuff
- chmod +x configure.sh - chmod +x configure.sh # Permissions
- sudo ./configure.sh - sudo ./configure.sh # Preparation
- make install BYPASS_CHECK=true - make install BYPASS_CHECK=true # Install WHY2
- make build_chat - make build_chat # Build Chat
artifacts: artifacts:
paths: paths:
- $CLIENT - $CLIENT
@ -40,12 +40,12 @@ why2-core-test:
stage: build stage: build
image: rust:latest image: rust:latest
script: script:
- apt update - apt update # Update repos
- apt install sudo lsb-release -y - apt install sudo lsb-release valgrind -y # Install needed stuff
- chmod +x configure.sh - chmod +x configure.sh # Permissions
- sudo ./configure.sh - sudo ./configure.sh # Preparation
- make install BYPASS_CHECK=true - make install BYPASS_CHECK=true # Install WHY2
- make test_core - make test_core # Build WHY2 Test
- ./$CORE_OUTPUT - ./$CORE_OUTPUT # Test Lib
- $APP - $APP # Test App
- $VALGRIND $APP - $VALGRIND $APP # Test Lib by Valgrind