Compare commits

..

No commits in common. "d58374232a41bf3b7d321550b50fb1cff9ff7d36" and "2758a32bb8c6f7ea2a69cea3dcc21d1ea81c5841" have entirely different histories.

4 changed files with 10 additions and 13 deletions

View File

@ -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

View File

@ -33,9 +33,8 @@ 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:
@ -69,10 +68,10 @@ jobs:
run: make test_core run: make test_core
- name: Test Lib - name: Test Lib
run: ${{ matrix.gdb }} ${{ matrix.output }} run: ./${{ matrix.output }}
- name: Test App - name: Test App
run: ${{ matrix.gdb }} ${{ matrix.app }} run: ${{ matrix.app }}
- name: Test Lib by Valgrind - name: Test Lib by Valgrind
run: ${{ matrix.valgrind }} ${{ matrix.output }} run: ${{ matrix.valgrind }} ${{ matrix.output }}

View File

@ -33,8 +33,7 @@ jobs:
include: include:
- os: ubuntu-latest - os: ubuntu-latest
output: ./out/why2-logger-test output: ./out/why2-logger-test
gdb: gdb -ex "run" -ex "quit" --batch configure: configure.sh
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
@ -69,10 +68,10 @@ jobs:
run: make test_logger run: make test_logger
- name: Test Lib - name: Test Lib
run: ${{ matrix.gdb }} ${{ matrix.output }} run: ./${{ matrix.output }}
- name: Test App - name: Test App
run: ${{ matrix.gdb }} ${{ matrix.app }} run: ${{ matrix.app }}
- name: Test Lib by Valgrind - name: Test Lib by Valgrind
run: ${{ matrix.valgrind }} ${{ matrix.output }} run: ${{ matrix.valgrind }} ${{ matrix.output }}

View File

@ -30,9 +30,8 @@ jobs:
os: [ ubuntu-latest ] os: [ ubuntu-latest ]
include: include:
- os: ubuntu-latest - os: ubuntu-latest
gdb: gdb -ex "run" -ex "quit" --batch configure: configure.sh
configure: ./configure.sh test: test
test: ./test
steps: steps:
- name: Checkout repository - name: Checkout repository
@ -66,4 +65,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.gdb }} ./${{ matrix.test }} run: ./${{ matrix.test }}