-
Notifications
You must be signed in to change notification settings - Fork 28
61 lines (58 loc) · 1.83 KB
/
reach.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: Reach
on:
push:
branches: main
schedule:
- cron: '0 */8 * * *' # every 8 hours
permissions: read-all
jobs:
reach-linux-openssl:
permissions: write-all
name: Top 1000 Reachability Test (Linux-OpenSSL)
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
with:
fetch-depth: 0
submodules: 'recursive'
- name: Generate
run: mkdir build && cd build && cmake -G 'Unix Makefiles' ..
- name: Build
run: cd build && cmake --build .
- name: Install
run: cd build && sudo cmake --install . --config Debug
- name: quicreach *
run: /usr/local/lib/quicreach '*' --parallel 8 --stats --csv build/data.csv
- name: Save results
run: |
git checkout data
git pull
tail -n 1 build/data.csv >> data.csv
git config user.email "[email protected]"
git config user.name "QUIC Dev[bot]"
git add data.csv
git status
git commit -m "Latest Reachability Results"
git push
git checkout main
reach-windows-schannel:
permissions: write-all
name: Top 1000 Reachability Test (Windows-Schannel)
needs: []
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
with:
fetch-depth: 0
submodules: 'recursive'
- name: Generate
run: mkdir build && cd build && cmake -G 'Visual Studio 17 2022' -A x64 -DQUIC_TLS=schannel ..
- name: Build
run: cd build && cmake --build . --config Debug
- name: Install
run: cd build && cmake --install . --config Debug
- name: quicreach *
run: |
& 'C:/Program Files/quicreach/lib/quicreach' '*' --parallel 8 --stats --csv build/data.csv