File tree 23 files changed +350
-22
lines changed
23 files changed +350
-22
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ set -ex
4
+
5
+ CONTAINERS=$@
6
+
7
+ if [ -z " $CONTAINERS " ]; then
8
+ echo " Nothing to do!"
9
+ exit 0
10
+ fi
11
+
12
+ for dirname in $CONTAINERS ; do
13
+ echo " building container from directory $dirname "
14
+ cd " $dirname "
15
+ docker build . --tag " $dirname "
16
+ cd ..
17
+ done
18
+
19
+ echo " successfully built $CONTAINERS "
Original file line number Diff line number Diff line change
1
+ name : Build and test the Docker container for ABY
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ paths :
7
+ - aby/*
8
+ pull_request :
9
+ branches : [ master ]
10
+ paths :
11
+ - aby/*
12
+
13
+ jobs :
14
+ build :
15
+ name : Build container for ABY
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - name : Check out the repo
19
+ uses : actions/checkout@v3
20
+ - uses : docker/setup-buildx-action@v2
21
+ - uses : docker/build-push-action@v4
22
+ with :
23
+ context : aby
24
+ tags : aby
25
+ load : true
26
+ cache-from : type=gha
27
+ cache-to : type=gha,mode=max
28
+ push : false
Original file line number Diff line number Diff line change
1
+ name : Build and test the Docker container for CBMC-GC
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ paths :
7
+ - cbmc-gc/*
8
+ pull_request :
9
+ branches : [ master ]
10
+ paths :
11
+ - cbmc-gc/*
12
+
13
+ jobs :
14
+ build :
15
+ name : Build container for cbmc-gc
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - name : Check out the repo
19
+ uses : actions/checkout@v3
20
+ - uses : docker/setup-buildx-action@v2
21
+ - uses : docker/build-push-action@v4
22
+ with :
23
+ context : cbmc-gc
24
+ tags : cbmc-gc
25
+ load : true
26
+ cache-from : type=gha
27
+ cache-to : type=gha,mode=max
28
+ push : false
Original file line number Diff line number Diff line change
1
+ name : Build and test the Docker container for EMP
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ paths :
7
+ - emp/*
8
+ pull_request :
9
+ branches : [ master ]
10
+ paths :
11
+ - emp/*
12
+
13
+ jobs :
14
+ build :
15
+ name : Build container for EMP
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - name : Check out the repo
19
+ uses : actions/checkout@v3
20
+ - uses : docker/setup-buildx-action@v2
21
+ - uses : docker/build-push-action@v4
22
+ with :
23
+ context : emp
24
+ tags : emp
25
+ load : true
26
+ cache-from : type=gha
27
+ cache-to : type=gha,mode=max
28
+ push : false
Original file line number Diff line number Diff line change
1
+ name : Build and test the Docker container for Jiff
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ paths :
7
+ - jiff/*
8
+ pull_request :
9
+ branches : [ master ]
10
+ paths :
11
+ - jiff/*
12
+
13
+ jobs :
14
+ build :
15
+ name : Build container for Jiff
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - name : Check out the repo
19
+ uses : actions/checkout@v3
20
+ - uses : docker/setup-buildx-action@v2
21
+ - uses : docker/build-push-action@v4
22
+ with :
23
+ context : jiff
24
+ tags : jiff
25
+ load : true
26
+ cache-from : type=gha
27
+ cache-to : type=gha,mode=max
28
+ push : false
Original file line number Diff line number Diff line change
1
+ name : Build and test the Docker container for MP-SPDZ
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ paths :
7
+ - mp-spdz/*
8
+ pull_request :
9
+ branches : [ master ]
10
+ paths :
11
+ - mp-spdz/*
12
+
13
+ jobs :
14
+ build :
15
+ name : Build container for MP-SPDZ
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - name : Check out the repo
19
+ uses : actions/checkout@v3
20
+ - uses : docker/setup-buildx-action@v2
21
+ - uses : docker/build-push-action@v4
22
+ with :
23
+ context : mp-spdz
24
+ tags : mp-spdz
25
+ load : true
26
+ cache-from : type=gha
27
+ cache-to : type=gha,mode=max
28
+ push : false
Original file line number Diff line number Diff line change
1
+ name : Build and test the Docker container for MPyC
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ paths :
7
+ - mpyc/*
8
+ pull_request :
9
+ branches : [ master ]
10
+ paths :
11
+ - mpyc/*
12
+
13
+ jobs :
14
+ build :
15
+ name : Build container for MPyC
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - name : Check out the repo
19
+ uses : actions/checkout@v3
20
+ - uses : docker/setup-buildx-action@v2
21
+ - uses : docker/build-push-action@v4
22
+ with :
23
+ context : mpyc
24
+ tags : mpyc
25
+ load : true
26
+ cache-from : type=gha
27
+ cache-to : type=gha,mode=max
28
+ push : false
Original file line number Diff line number Diff line change
1
+ name : Build and test the Docker container for Obliv-C
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ paths :
7
+ - obliv-c/*
8
+ pull_request :
9
+ branches : [ master ]
10
+ paths :
11
+ - obliv-c/*
12
+
13
+ jobs :
14
+ build :
15
+ name : Build container for obliv-c
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - name : Check out the repo
19
+ uses : actions/checkout@v3
20
+ - uses : docker/setup-buildx-action@v2
21
+ - uses : docker/build-push-action@v4
22
+ with :
23
+ context : obliv-c
24
+ tags : obliv-c
25
+ load : true
26
+ cache-from : type=gha
27
+ cache-to : type=gha,mode=max
28
+ push : false
Original file line number Diff line number Diff line change
1
+ name : Build and test the Docker container for ObliVM
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ paths :
7
+ - oblivm/*
8
+ pull_request :
9
+ branches : [ master ]
10
+ paths :
11
+ - oblivm/*
12
+
13
+ jobs :
14
+ build :
15
+ name : Build container for oblivm
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - name : Check out the repo
19
+ uses : actions/checkout@v3
20
+ - uses : docker/setup-buildx-action@v2
21
+ - uses : docker/build-push-action@v4
22
+ with :
23
+ context : oblivm
24
+ tags : oblivm
25
+ load : true
26
+ cache-from : type=gha
27
+ cache-to : type=gha,mode=max
28
+ push : false
Original file line number Diff line number Diff line change
1
+ name : Build and test the Docker container for Picco
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ paths :
7
+ - picco/*
8
+ pull_request :
9
+ branches : [ master ]
10
+ paths :
11
+ - picco/*
12
+
13
+ jobs :
14
+ build :
15
+ name : Build container for Picco
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - name : Check out the repo
19
+ uses : actions/checkout@v3
20
+ - uses : docker/setup-buildx-action@v2
21
+ - uses : docker/build-push-action@v4
22
+ with :
23
+ context : picco
24
+ tags : picco
25
+ load : true
26
+ cache-from : type=gha
27
+ cache-to : type=gha,mode=max
28
+ push : false
Original file line number Diff line number Diff line change
1
+ name : Build and test the Docker container for SCALE-Mamba
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ paths :
7
+ - scalemamba/*
8
+ pull_request :
9
+ branches : [ master ]
10
+ paths :
11
+ - scalemamba/*
12
+
13
+ jobs :
14
+ build :
15
+ name : Build container for SCALE-Mamba
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - name : Check out the repo
19
+ uses : actions/checkout@v3
20
+ - uses : docker/setup-buildx-action@v2
21
+ - uses : docker/build-push-action@v4
22
+ with :
23
+ context : scalemamba
24
+ tags : scalemamba
25
+ load : true
26
+ cache-from : type=gha
27
+ cache-to : type=gha,mode=max
28
+ push : false
Original file line number Diff line number Diff line change
1
+ name : Build and test the Docker container for SPDZ-2
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ paths :
7
+ - spdz/*
8
+ pull_request :
9
+ branches : [ master ]
10
+ paths :
11
+ - spdz/*
12
+
13
+ jobs :
14
+ build :
15
+ name : Build container for SPDZ-2
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - name : Check out the repo
19
+ uses : actions/checkout@v3
20
+ - uses : docker/setup-buildx-action@v2
21
+ - uses : docker/build-push-action@v4
22
+ with :
23
+ context : spdz
24
+ tags : spdz
25
+ load : true
26
+ cache-from : type=gha
27
+ cache-to : type=gha,mode=max
28
+ push : false
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
+ set -e
4
+
3
5
# get ABY
4
6
git clone --recursive https://github.com/encryptogroup/ABY.git
5
7
cd ABY
@@ -17,5 +19,5 @@ cp ~/source/geninput.py src/examples/
17
19
# build ABY
18
20
mkdir build && cd build
19
21
cmake -DABY_BUILD_EXE=On ..
20
- make
22
+ make -j
21
23
Original file line number Diff line number Diff line change @@ -9,9 +9,7 @@ git checkout -b MPCSOK e57333b19484
9
9
10
10
# make and install cmbc-gc executables
11
11
make minisat2-download
12
- make
12
+ make -j2
13
13
14
14
cp bin/cbmc* /usr/bin/
15
15
cp bin/circuit* /usr/bin/
16
-
17
-
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
+ set -e
4
+
3
5
wget https://raw.githubusercontent.com/emp-toolkit/emp-readme/master/scripts/install.py
4
6
# We don't set "-install" because our docker image already comes with the necessary dependencies.
5
7
# See: https://github.com/emp-toolkit/emp-readme/blob/master/scripts/install.py#L12
6
8
python3 install.py -install --tool --ot --sh2pc --ag2pc
7
-
8
-
You can’t perform that action at this time.
0 commit comments