forked from data61/MP-SPDZ
-
Notifications
You must be signed in to change notification settings - Fork 2
43 lines (34 loc) · 1 KB
/
mpcstats.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
name: mpcstats
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-on-ubuntu-latest:
runs-on: ubuntu-latest
steps:
- name: Check out MP-SPDZ
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
architecture: 'x64'
- name: Install Python dependencies
run: pip install -r requirements.txt
- name: Install MP-SPDZ dependencies
run: sudo apt-get install -y automake build-essential clang cmake git libboost-dev libboost-iostreams-dev libboost-thread-dev libgmp-dev libntl-dev libsodium-dev libssl-dev libtool
- name: Build MP-SPDZ
run: make setup
- name: Build semi-party.x
run: make -j8 semi-party.x
- name: Run tests
run: cd mpcstats && pytest tests -v