Skip to content

Commit 8950f5d

Browse files
authored
Merge pull request #1682 from private-octopus/revise-github-actions
Update github actions to show results
2 parents 0931acf + eb50dba commit 8950f5d

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

.github/workflows/ci-tests-clang.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
run: |
4242
ulimit -c unlimited -S
4343
cd build
44-
make test && QUICRESULT=$?
45-
if [[ ${QUICRESULT} == 0 ]]; then exit 0; fi;
44+
./picoquic_ct -S .. -n -r && QUICRESULT=$?
45+
./picohttp_ct -S .. -n -r -x http_corrupt && HTTPRESULT=$?
46+
if [[ ${QUICRESULT} == 0 ]] && [[ ${HTTPRESULT} == 0 ]]; then exit 0; fi;
4647
exit 1

.github/workflows/ci-tests-mac-os.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
run: |
3838
ulimit -c unlimited -S
3939
cd build
40-
make test && QUICRESULT=$?
41-
if [[ ${QUICRESULT} == 0 ]]; then exit 0; fi;
40+
./picoquic_ct -S .. -n -r && QUICRESULT=$?
41+
./picohttp_ct -S .. -n -r -x http_corrupt && HTTPRESULT=$?
42+
if [[ ${QUICRESULT} == 0 ]] && [[ ${HTTPRESULT} == 0 ]]; then exit 0; fi;
4243
exit 1

.github/workflows/ci-tests-no-fusion.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,9 @@ jobs:
3636
run: |
3737
ulimit -c unlimited -S
3838
cd build
39-
make test && QUICRESULT=$?
40-
cd ..
41-
if [[ ${QUICRESULT} == 0 ]]; then exit 0; fi;
42-
cat /home/runner/work/picoquic/picoquic/build/Testing/Temporary/LastTest.log
39+
./picoquic_ct -S .. -n -r && QUICRESULT=$?
40+
./picohttp_ct -S .. -n -r -x http_corrupt && HTTPRESULT=$?
41+
if [[ ${QUICRESULT} == 0 ]] && [[ ${HTTPRESULT} == 0 ]]; then exit 0; fi;
4342
exit 1
4443
4544
#TODO: reset the test once openssl issue is understood.

.github/workflows/ci-tests.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,11 @@ jobs:
3636
./picoquic_ct -S .. -n -r && QUICRESULT=$?
3737
./picohttp_ct -S .. -n -r -x http_corrupt && HTTPRESULT=$?
3838
if [[ ${QUICRESULT} == 0 ]] && [[ ${HTTPRESULT} == 0 ]]; then exit 0; fi;
39-
cat /home/runner/work/picoquic/picoquic/build/Testing/Temporary/LastTest.log
4039
exit 1
41-
42-
- name: Run Valgrind
43-
run: |
44-
sudo apt-get update
45-
sudo apt-get install -y valgrind
46-
# Remove, until the picotls/openssl issue is resolved.
47-
# valgrind -v --error-exitcode=1 --track-origins=yes build/picoquic_ct zero_rtt_many_losses
40+
41+
# Remove, until the picotls/openssl issue is resolved. TODO: restore when understood.
42+
# - name: Run Valgrind
43+
# run: |
44+
# sudo apt-get update
45+
# sudo apt-get install -y valgrind
46+
# valgrind -v --error-exitcode=1 --track-origins=yes build/picoquic_ct zero_rtt_many_losses

0 commit comments

Comments
 (0)