Compare commits

..

2 Commits

Author SHA1 Message Date
90ac513be1
replaced GDB variable with duplicate code in gitlab-ci
Some checks failed
Codacy Scan / Codacy Security Scan (push) Failing after 2m48s
Test Project / test-project (./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./test) (push) Successful in 3m3s
Build WHY2-chat / test-why2 (./out/why2-chat-client, ./configure.sh, ubuntu-latest, ./out/why2-chat-server) (push) Successful in 3m11s
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) Successful in 3m38s
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) Successful in 3m52s
fuck gitlab
2025-01-09 19:32:26 +01:00
b2b2d95624
codacy workflow syntax fix 2025-01-09 19:27:51 +01:00
2 changed files with 5 additions and 6 deletions

View File

@ -27,7 +27,7 @@ permissions:
jobs: jobs:
codacy-security-scan: codacy-security-scan:
if: github.repository == "ENGO150/WHY2" if: github.repository == 'ENGO150/WHY2'
permissions: permissions:
contents: read contents: read
security-events: write security-events: write

View File

@ -22,7 +22,6 @@ variables:
LOGGER_OUTPUT: "./out/why2-logger-test" LOGGER_OUTPUT: "./out/why2-logger-test"
LOGGER_APP: "why2-logger" LOGGER_APP: "why2-logger"
VALGRIND: "valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s" VALGRIND: "valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s"
GDB: "gdb -ex \"run\" -ex \"quit\" --batch"
CONFIGURE: "./configure.sh" CONFIGURE: "./configure.sh"
NEEDED_STUFF: "sudo lsb-release gdb" NEEDED_STUFF: "sudo lsb-release gdb"
@ -51,8 +50,8 @@ why2-core-test:
- sudo $CONFIGURE # Preparation - sudo $CONFIGURE # Preparation
- make install BYPASS_CHECK=true # Install WHY2 - make install BYPASS_CHECK=true # Install WHY2
- make test_core # Build WHY2 Test - make test_core # Build WHY2 Test
- ${GDB} $CORE_OUTPUT # Test Lib - gdb -ex "run" -ex "quit" --batch $CORE_OUTPUT # Test Lib
- ${GDB} $CORE_APP # Test App - gdb -ex "run" -ex "quit" --batch $CORE_APP # Test App
- $VALGRIND $CORE_OUTPUT # Test Lib by Valgrind - $VALGRIND $CORE_OUTPUT # Test Lib by Valgrind
why2-logger-test: why2-logger-test:
@ -65,8 +64,8 @@ why2-logger-test:
- sudo $CONFIGURE # Preparation - sudo $CONFIGURE # Preparation
- make install BYPASS_CHECK=true # Install WHY2 - make install BYPASS_CHECK=true # Install WHY2
- make test_logger # Build WHY2 Test - make test_logger # Build WHY2 Test
- ${GDB} $LOGGER_OUTPUT # Test Lib - gdb -ex "run" -ex "quit" --batch $LOGGER_OUTPUT # Test Lib
- ${GDB} $LOGGER_APP # Test App - gdb -ex "run" -ex "quit" --batch $LOGGER_APP # Test App
- $VALGRIND $LOGGER_OUTPUT # Test Lib by Valgrind - $VALGRIND $LOGGER_OUTPUT # Test Lib by Valgrind
why2-project: why2-project: