-
Notifications
You must be signed in to change notification settings - Fork 227
44 lines (37 loc) · 1.05 KB
/
ci-tests-select.yml
File metadata and controls
44 lines (37 loc) · 1.05 KB
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
41
42
43
44
---
name: "CITestsSelect"
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
citests:
name: CI-Tests-Select
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
submodules: 'recursive'
- name: Building picotls
run: |
sudo apt-get install -y libssl-dev
./ci/build_picotls.sh
- name: Building picoquic
run: |
sudo apt-get install -y libssl-dev
./ci/build_picotls.sh
cmake -S . -B build "-DWITH_SELECT=ON"
cmake --build build
- name: Perform Sockloop Tests
run: |
ulimit -c unlimited -S
cd build
./picoquic_ct -S .. -n sockloop_basic sockloop_migration sockloop_nat && QUICRESULT=$?
if [[ ${QUICRESULT} == 0 ]] ; then exit 0; fi;
exit 1