Typos #3
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: "CITestsNoFusion" | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
citests: | |
name: CI-Tests-No-Fusion | |
runs-on: ubuntu-latest | |
env: | |
PTLS_CMAKE_OPTS: -DWITH_FUSION=OFF | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
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' | |
- run: | | |
sudo apt-get install -y libssl-dev | |
./ci/build_picotls.sh | |
cmake "-DCMAKE_C_FLAGS=-g" "-DCMAKE_CXX_FLAGS=-g" . | |
make | |
- name: Perform Unit Tests | |
run: | | |
ulimit -c unlimited -S | |
./picoquic_ct -n -r && QUICRESULT=$? | |
./picohttp_ct -n -r -x http_corrupt && HTTPRESULT=$? | |
if [[ ${QUICRESULT} == 0 ]] && [[ ${HTTPRESULT} == 0 ]]; then exit 0; fi; | |
exit 1 | |
- name: Run Valgrind | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y valgrind | |
valgrind -v --error-exitcode=1 --track-origins=yes ./picoquic_ct zero_rtt_many_losses |