-
Notifications
You must be signed in to change notification settings - Fork 4
41 lines (35 loc) · 1019 Bytes
/
test-macos.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
name: "TestMacOs"
on:
push
jobs:
analyze:
name: TestMacOs
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'
# Build picotls and picoquic.
- run: |
brew reinstall openssl
export PKG_CONFIG_PATH="/usr/local/opt/[email protected]/lib/pkgconfig"
./ci/build_picotls.sh
./ci/build_picoquic.sh
# Build fuzi_q and run tests
- run: |
mkdir build
cd build
export PKG_CONFIG_PATH="/usr/local/opt/[email protected]/lib/pkgconfig"
cmake ..
cmake --build .
make
ulimit -c unlimited -S
pwd
./fuzi_qt -P ../../picoquic && QRQRESULT=$?
if [ "${QRQRESULT}" == 0 ]; then exit 0; fi;
exit 1