-
Notifications
You must be signed in to change notification settings - Fork 1
109 lines (108 loc) · 2.32 KB
/
artifacts.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
name: artifacts
on:
workflow_dispatch:
jobs:
proofs:
runs-on: ubuntu-22.04
steps:
-
uses: actions/checkout@master
-
name: Run main design (centralized-time)
run: |
cd proofs
make prove VERSION=v1.6.1 MODEL=centralized-time THREADS=4 OUT_FILE=output_centralized.spthy
docker logs -n 200 tamarin > out/log_centralized.txt
timeout-minutes: 10
-
name: Run alternative design (distributed-time)
run: |
cd proofs
make prove VERSION=v1.6.1 MODEL=distributed-time THREADS=4 OUT_FILE=output_distributed.spthy
docker logs -n 200 tamarin > out/log_distributed.txt
timeout-minutes: 10
-
name: Remove temp files
run: |
cd proofs
rm -rf out/theory.spthy out/oracle.py
-
name: Upload results
uses: actions/upload-artifact@v3
with:
name: proofs
path: proofs/out
simulation:
runs-on: ubuntu-22.04
steps:
-
uses: actions/checkout@master
-
name: Setup
run: |
cd simulation
make run_minikube
make build_minikube
-
name: Test run
run: |
cd simulation
make run_simulations CONF=conf/ci.yaml SCENARIO=scenario-a1 RUN=1-honest SIM_TIME=120 DOWN_TIME=30
make clean
-
name: Run simulations
run: |
cd simulation
make run_simulations CONF=conf/ci.yaml
-
name: Generate plots
run: |
cd simulation
make plot_all
-
name: Upload results
uses: actions/upload-artifact@v3
with:
name: simulation
path: simulation/simulations
prl:
runs-on: ubuntu-22.04
steps:
-
uses: actions/checkout@master
-
name: Probabilities
run: |
cd prl
make probabilities
-
name: Transition graph
run: |
cd prl
make tikz
-
name: p-plot
run: |
cd prl
make p-plot
-
name: n-plot
run: |
cd prl
make n-plot
-
name: t-plot
run: |
cd prl
make t-plot
-
name: tv-distribution
run: |
cd prl
make tv-distribution
-
name: Upload results
uses: actions/upload-artifact@v3
with:
name: prl-plots
path: prl/plots