Merge pull request #1553 from private-octopus/fix-h3-datagram-settings #1156
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: "CITests" | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
citests: | |
name: CI-Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
# We must fetch at least the immediate parents so that if this is | |
# a pull request then we can checkout the head. | |
fetch-depth: 2 | |
submodules: 'recursive' | |
- name: Building picoquic | |
run: | | |
sudo apt-get install -y libssl-dev | |
cmake -S . -B build -DPICOQUIC_FETCH_PTLS:BOOL=ON | |
cmake --build build | |
- name: Perform Unit Tests | |
run: | | |
ulimit -c unlimited -S | |
cd build | |
make test && QUICRESULT=$? | |
if [[ ${QUICRESULT} == 0 ]]; then exit 0; fi; | |
cat /home/runner/work/picoquic/picoquic/build/Testing/Temporary/LastTest.log | |
exit 1 | |
- name: Run Valgrind | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y valgrind | |
# Remove, until the picotls/openssl issue is resolved. | |
# valgrind -v --error-exitcode=1 --track-origins=yes build/picoquic_ct zero_rtt_many_losses |