Compare commits
2 Commits
2758a32bb8
...
d58374232a
Author | SHA1 | Date | |
---|---|---|---|
d58374232a | |||
4244d2687e |
2
.github/workflows/why2-chat-build.yml
vendored
2
.github/workflows/why2-chat-build.yml
vendored
@ -34,7 +34,7 @@ jobs:
|
||||
- os: ubuntu-latest
|
||||
client: ./out/why2-chat-client
|
||||
server: ./out/why2-chat-server
|
||||
configure: configure.sh
|
||||
configure: ./configure.sh
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
7
.github/workflows/why2-core-test.yml
vendored
7
.github/workflows/why2-core-test.yml
vendored
@ -33,8 +33,9 @@ jobs:
|
||||
include:
|
||||
- os: ubuntu-latest
|
||||
output: ./out/why2-core-test
|
||||
gdb: gdb -ex "run" -ex "quit" --batch
|
||||
valgrind: valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s
|
||||
configure: configure.sh
|
||||
configure: ./configure.sh
|
||||
app: why2
|
||||
|
||||
steps:
|
||||
@ -68,10 +69,10 @@ jobs:
|
||||
run: make test_core
|
||||
|
||||
- name: Test Lib
|
||||
run: ./${{ matrix.output }}
|
||||
run: ${{ matrix.gdb }} ${{ matrix.output }}
|
||||
|
||||
- name: Test App
|
||||
run: ${{ matrix.app }}
|
||||
run: ${{ matrix.gdb }} ${{ matrix.app }}
|
||||
|
||||
- name: Test Lib by Valgrind
|
||||
run: ${{ matrix.valgrind }} ${{ matrix.output }}
|
7
.github/workflows/why2-logger-test.yml
vendored
7
.github/workflows/why2-logger-test.yml
vendored
@ -33,7 +33,8 @@ jobs:
|
||||
include:
|
||||
- os: ubuntu-latest
|
||||
output: ./out/why2-logger-test
|
||||
configure: configure.sh
|
||||
gdb: gdb -ex "run" -ex "quit" --batch
|
||||
configure: ./configure.sh
|
||||
valgrind: valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s
|
||||
app: why2-logger
|
||||
|
||||
@ -68,10 +69,10 @@ jobs:
|
||||
run: make test_logger
|
||||
|
||||
- name: Test Lib
|
||||
run: ./${{ matrix.output }}
|
||||
run: ${{ matrix.gdb }} ${{ matrix.output }}
|
||||
|
||||
- name: Test App
|
||||
run: ${{ matrix.app }}
|
||||
run: ${{ matrix.gdb }} ${{ matrix.app }}
|
||||
|
||||
- name: Test Lib by Valgrind
|
||||
run: ${{ matrix.valgrind }} ${{ matrix.output }}
|
7
.github/workflows/why2-project.yml
vendored
7
.github/workflows/why2-project.yml
vendored
@ -30,8 +30,9 @@ jobs:
|
||||
os: [ ubuntu-latest ]
|
||||
include:
|
||||
- os: ubuntu-latest
|
||||
configure: configure.sh
|
||||
test: test
|
||||
gdb: gdb -ex "run" -ex "quit" --batch
|
||||
configure: ./configure.sh
|
||||
test: ./test
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
@ -65,4 +66,4 @@ jobs:
|
||||
run: cc ${{ matrix.test }}.c -lwhy2 -Wall -o ${{ matrix.test }}
|
||||
|
||||
- name: Run test
|
||||
run: ./${{ matrix.test }}
|
||||
run: ${{ matrix.gdb }} ./${{ matrix.test }}
|
Loading…
x
Reference in New Issue
Block a user