applied workflow changes to gitlab-ci
Some checks failed
Codacy Scan / Codacy Security Scan (push) Has been cancelled
Build WHY2-chat / test-why2 (./out/why2-chat-client, ./configure.sh, ubuntu-latest, ./out/why2-chat-server) (push) Has been cancelled
Test WHY2-core / test-why2 (why2, ./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./out/why2-core-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Has been cancelled
Test Project / test-project (./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./test) (push) Has been cancelled
Test WHY2-logger / test-why2 (why2-logger, ./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./out/why2-logger-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Has been cancelled
Some checks failed
Codacy Scan / Codacy Security Scan (push) Has been cancelled
Build WHY2-chat / test-why2 (./out/why2-chat-client, ./configure.sh, ubuntu-latest, ./out/why2-chat-server) (push) Has been cancelled
Test WHY2-core / test-why2 (why2, ./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./out/why2-core-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Has been cancelled
Test Project / test-project (./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./test) (push) Has been cancelled
Test WHY2-logger / test-why2 (why2-logger, ./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./out/why2-logger-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Has been cancelled
This commit is contained in:
parent
f903d265d9
commit
44ce767709
@ -22,15 +22,18 @@ variables:
|
||||
LOGGER_OUTPUT: "./out/why2-logger-test"
|
||||
LOGGER_APP: "why2-logger"
|
||||
VALGRIND: "valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s"
|
||||
GDB: gdb -ex "run" -ex "quit" --batch
|
||||
CONFIGURE: "./configure.sh"
|
||||
NEEDED_STUFF: "sudo lsb-release gdb"
|
||||
|
||||
why2-chat-build:
|
||||
stage: build
|
||||
image: rust:latest # Fixes cargo installation problems in ./configure.sh
|
||||
script:
|
||||
- apt-get update # Update repos
|
||||
- apt-get install sudo lsb-release -y # Install needed stuff
|
||||
- chmod +x configure.sh # Permissions
|
||||
- sudo ./configure.sh # Preparation
|
||||
- apt-get install $NEEDED_STUFF -y # Install needed stuff
|
||||
- chmod +x $CONFIGURE # Permissions
|
||||
- sudo $CONFIGURE # Preparation
|
||||
- make install BYPASS_CHECK=true # Install WHY2
|
||||
- make build_chat # Build Chat
|
||||
artifacts:
|
||||
@ -43,13 +46,13 @@ why2-core-test:
|
||||
image: rust:latest
|
||||
script:
|
||||
- apt-get update # Update repos
|
||||
- apt-get install sudo lsb-release valgrind -y # Install needed stuff
|
||||
- chmod +x configure.sh # Permissions
|
||||
- sudo ./configure.sh # Preparation
|
||||
- apt-get install $NEEDED_STUFF valgrind -y # Install needed stuff
|
||||
- chmod +x $CONFIGURE # Permissions
|
||||
- sudo $CONFIGURE # Preparation
|
||||
- make install BYPASS_CHECK=true # Install WHY2
|
||||
- make test_core # Build WHY2 Test
|
||||
- ./$CORE_OUTPUT # Test Lib
|
||||
- $CORE_APP # Test App
|
||||
- $GDB $CORE_OUTPUT # Test Lib
|
||||
- $GDB $CORE_APP # Test App
|
||||
- $VALGRIND $CORE_OUTPUT # Test Lib by Valgrind
|
||||
|
||||
why2-logger-test:
|
||||
@ -57,13 +60,13 @@ why2-logger-test:
|
||||
image: rust:latest
|
||||
script:
|
||||
- apt-get update # Update repos
|
||||
- apt-get install sudo lsb-release valgrind -y # Install needed stuff
|
||||
- chmod +x configure.sh # Permissions
|
||||
- sudo ./configure.sh # Preparation
|
||||
- apt-get install $NEEDED_STUFF valgrind -y # Install needed stuff
|
||||
- chmod +x $CONFIGURE # Permissions
|
||||
- sudo $CONFIGURE # Preparation
|
||||
- make install BYPASS_CHECK=true # Install WHY2
|
||||
- make test_logger # Build WHY2 Test
|
||||
- ./$LOGGER_OUTPUT # Test Lib
|
||||
- $LOGGER_APP # Test App
|
||||
- $GDB $LOGGER_OUTPUT # Test Lib
|
||||
- $GDB $LOGGER_APP # Test App
|
||||
- $VALGRIND $LOGGER_OUTPUT # Test Lib by Valgrind
|
||||
|
||||
why2-project:
|
||||
@ -71,10 +74,10 @@ why2-project:
|
||||
image: rust:latest
|
||||
script:
|
||||
- apt-get update # Update repos
|
||||
- apt-get install sudo lsb-release -y # Install needed stuff
|
||||
- chmod +x configure.sh # Permissions
|
||||
- sudo ./configure.sh # Preparation
|
||||
- apt-get install $NEEDED_STUFF -y # Install needed stuff
|
||||
- chmod +x $CONFIGURE # Permissions
|
||||
- sudo $CONFIGURE # Preparation
|
||||
- make install BYPASS_CHECK=true # Install WHY2
|
||||
- curl -Lo test.c https://gist.github.com/ENGO150/d8419b6c31ffb68ebb930a5b41af8c73/raw # Download WHY2 test project
|
||||
- cc test.c -lwhy2 -Wall -o test # Build WHY2 project
|
||||
- ./test # Run Test
|
||||
- curl -Lo ./test.c https://gist.github.com/ENGO150/d8419b6c31ffb68ebb930a5b41af8c73/raw # Download WHY2 test project
|
||||
- cc test.c -lwhy2 -Wall -o ./test # Build WHY2 project
|
||||
- $GDB ./test # Run Test
|
Loading…
x
Reference in New Issue
Block a user