-
Notifications
You must be signed in to change notification settings - Fork 4
84 lines (82 loc) · 3.04 KB
/
deploy.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
name: Deploy
on: [push, workflow_dispatch]
jobs:
build-launcher:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
pip3 install requests ujson graphviz ply pytest atomicwrites more-itertools pluggy py attrs setuptools six django psycopg2 clade pyyaml pycparser sympy
- name: Deployment of CV
run: |
DEPLOY_DIR=build make install -j$(nproc)
DEPLOY_DIR=build make install-cif-compiled -j$(nproc)
cp -r docs/examples/sources/ build/
cd build
python3 ./scripts/launch.py -c configs/it.json
grep "it;smg;no_memory_leak_caller;TRUE;SUCCESS" results/report_launches_it_*.csv || exit 1
grep "it;smg;memory_leak_caller;FALSE;SUCCESS" results/report_launches_it_*.csv || exit 1
build-visualizer:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
pip3 install requests ujson graphviz ply pytest atomicwrites more-itertools pluggy py attrs setuptools six django psycopg2 pycparser sympy
- name: Deployment of Benchmark Visualizer
run: |
DEPLOY_DIR=build make install-benchmark-visualizer -j$(nproc)
cd build
python3 ./scripts/visualize_witnesses.py -r results/ -d ../docs/examples/witnesses/violation/
python3 ./scripts/visualize_witnesses.py -r results/ -d ../docs/examples/witnesses/correctness/
build-mea:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
pip3 install requests ujson graphviz ply pytest atomicwrites more-itertools pluggy py attrs setuptools six django psycopg2 pycparser sympy
- name: Deployment of MEA
run: |
DEPLOY_DIR=build make install-mea -j$(nproc)
cd build
python3 ./scripts/filter.py -d ../docs/examples/witnesses/violation/
build-frama-c-cil:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Deployment of Frama-C CIL
run: |
DEPLOY_DIR=build make install-frama-c-cil -j$(nproc)