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
|
- os: ubuntu-latest
|
||||||
client: ./out/why2-chat-client
|
client: ./out/why2-chat-client
|
||||||
server: ./out/why2-chat-server
|
server: ./out/why2-chat-server
|
||||||
configure: configure.sh
|
configure: ./configure.sh
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- 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:
|
include:
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
output: ./out/why2-core-test
|
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
|
valgrind: valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s
|
||||||
configure: configure.sh
|
configure: ./configure.sh
|
||||||
app: why2
|
app: why2
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -68,10 +69,10 @@ jobs:
|
|||||||
run: make test_core
|
run: make test_core
|
||||||
|
|
||||||
- name: Test Lib
|
- name: Test Lib
|
||||||
run: ./${{ matrix.output }}
|
run: ${{ matrix.gdb }} ${{ matrix.output }}
|
||||||
|
|
||||||
- name: Test App
|
- name: Test App
|
||||||
run: ${{ matrix.app }}
|
run: ${{ matrix.gdb }} ${{ matrix.app }}
|
||||||
|
|
||||||
- name: Test Lib by Valgrind
|
- name: Test Lib by Valgrind
|
||||||
run: ${{ matrix.valgrind }} ${{ matrix.output }}
|
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:
|
include:
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
output: ./out/why2-logger-test
|
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
|
valgrind: valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s
|
||||||
app: why2-logger
|
app: why2-logger
|
||||||
|
|
||||||
@ -68,10 +69,10 @@ jobs:
|
|||||||
run: make test_logger
|
run: make test_logger
|
||||||
|
|
||||||
- name: Test Lib
|
- name: Test Lib
|
||||||
run: ./${{ matrix.output }}
|
run: ${{ matrix.gdb }} ${{ matrix.output }}
|
||||||
|
|
||||||
- name: Test App
|
- name: Test App
|
||||||
run: ${{ matrix.app }}
|
run: ${{ matrix.gdb }} ${{ matrix.app }}
|
||||||
|
|
||||||
- name: Test Lib by Valgrind
|
- name: Test Lib by Valgrind
|
||||||
run: ${{ matrix.valgrind }} ${{ matrix.output }}
|
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 ]
|
os: [ ubuntu-latest ]
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
configure: configure.sh
|
gdb: gdb -ex "run" -ex "quit" --batch
|
||||||
test: test
|
configure: ./configure.sh
|
||||||
|
test: ./test
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
@ -65,4 +66,4 @@ jobs:
|
|||||||
run: cc ${{ matrix.test }}.c -lwhy2 -Wall -o ${{ matrix.test }}
|
run: cc ${{ matrix.test }}.c -lwhy2 -Wall -o ${{ matrix.test }}
|
||||||
|
|
||||||
- name: Run test
|
- name: Run test
|
||||||
run: ./${{ matrix.test }}
|
run: ${{ matrix.gdb }} ./${{ matrix.test }}
|
Loading…
x
Reference in New Issue
Block a user