Skip to content

Sync fork to picoquic master branch #45

Sync fork to picoquic master branch

Sync fork to picoquic master branch #45

---
name: "CITestsMacOS"
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
citests:
name: CI-Tests-MacOS
runs-on: macos-latest
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'
- name: Building picoquic
run: |
brew reinstall openssl
brew install pkg-config
export PKG_CONFIG_PATH="/usr/local/opt/openssl@1.1/lib/pkgconfig"
./ci/build_picotls.sh
cmake -S . -B build
cmake --build build
- name: Perform Unit Tests
run: |
ulimit -c unlimited -S
cd build
make test && QUICRESULT=$?
if [[ ${QUICRESULT} == 0 ]]; then exit 0; fi;
exit 1