-
Notifications
You must be signed in to change notification settings - Fork 4
99 lines (90 loc) · 2.99 KB
/
deploy.yml
File metadata and controls
99 lines (90 loc) · 2.99 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
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
name: Deploy
on: [push, workflow_dispatch]
jobs:
build-launcher:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: [ "3.8" ]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: |
python3 -m pip install --upgrade pip
pip3 install -r requirements.txt
- name: Build and deploy Continuous Verification Framework
run: |
echo "Building and deploying CV..."
make install -j"$(nproc)" DEPLOY_DIR=build
build-witness-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 -r requirements.txt
- name: Deployment of Witness Visualizer
run: |
DEPLOY_DIR=build make install-witness-visualizer -j$(nproc)
cd build
python3 ./cv/witness_visualizer.py -r results/ -d ../docs/examples/witnesses/violation/
python3 ./cv/witness_visualizer.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 -r requirements.txt
- name: Deployment of MEA
run: |
DEPLOY_DIR=build make install-mea -j$(nproc)
cd build
python3 ./cv/mea.py -d ../docs/examples/witnesses/violation/
deploy-cvv:
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 -r requirements.txt
- name: Install system dependencies
run: |
echo "Installing required packages..."
sudo apt-get update
sudo apt-get install -y postgresql libpq-dev gettext
- name: Deployment of CVV
run: |
DEPLOY_DIR=build make deploy-cvv -j$(nproc)
cd build/cvv
pip3 install -r requests ujson graphviz django psycopg2 pluggy py attrs six more-itertools ply pytest atomicwrites pycparser psycopg2 sympy pytz
deploys/deployment.sh __cvf_cvv_deploy