Skip to content

Commit

Permalink
Shorten build time.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkskeller committed Nov 21, 2024
1 parent 91321ff commit 5acfb3a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
19 changes: 15 additions & 4 deletions Scripts/test_tutorial.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,30 @@ for dabit in ${dabit:-0 1 2}; do

./compile.py -R 64 $compile_opts tutorial

for i in ring rep4-ring semi2k brain mal-rep-ring ps-rep-ring sy-rep-ring \
spdz2k dealer-ring; do
for i in ring rep4-ring semi2k sy-rep-ring spdz2k dealer-ring; do
test_vm $i $run_opts
done

if test -z "$slim"; then
for i in brain mal-rep-ring ps-rep-ring; do
test_vm $i $run_opts
done
fi

./compile.py $compile_opts tutorial

for i in rep-field shamir mal-rep-field ps-rep-field sy-rep-field \
for i in rep-field shamir sy-rep-field \
atlas mal-shamir sy-shamir hemi semi temi \
soho mascot mama; do
soho mascot; do
test_vm $i $run_opts
done

if test -z "$slim"; then
for i in mal-rep-field ps-rep-field mama; do
test_vm $i $run_opts
done
fi

for i in cowgear chaigear; do
test_vm $i $run_opts -S 3 -c 2
done
Expand Down
6 changes: 3 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pool:

steps:
- script: |
bash -c "sudo apt-get update && sudo apt-get install libboost-all-dev libsodium-dev libntl-dev python3-gmpy2 python3-networkx"
bash -c "sudo apt-get update && sudo apt-get install libboost-dev libboost-filesystem-dev libboost-iostreams-dev libboost-thread-dev libsodium-dev libntl-dev python3-gmpy2 python3-networkx"
- script: |
make setup
- script:
Expand All @@ -26,8 +26,8 @@ steps:
- script:
echo CXX = clang++ >> CONFIG.mine
- script:
make arithmetic rep-bin yao
make replicated-{ring,field}-party.x rep4-ring-party.x shamir mascot-party.x sy spdz2k-party.x semi-he yao semi2k-party.x semi-party.x dealer-ring-party.x cowgear-party.x chaigear-party.x
- script:
Scripts/setup-ssl.sh 4
- script:
skip_binary=1 Scripts/test_tutorial.sh -X
skip_binary=1 slim=1 Scripts/test_tutorial.sh -X

0 comments on commit 5acfb3a

Please sign in to comment.