forked from bcmyers/argonautica
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
32 lines (31 loc) · 1.08 KB
/
docker-compose.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
version: '3'
services:
tests:
command: bash -c '
set -eux;
pip install setuptools-rust;
python setup.py sdist;
pip uninstall setuptools-rust -y;
pip install dist/argonautica-0.1.4.tar.gz -v;
pip install passlib argon2_cffi;
cd argonautica-py; python -m unittest; cd ..;
python argonautica-py/benchmark.py;
python argonautica-py/examples/argon2.py;
python argonautica-py/examples/configuration.py;
python argonautica-py/examples/configuration2.py;
python argonautica-py/examples/configuration3.py;
python argonautica-py/examples/hash_raw.py;
python argonautica-py/examples/hasher.py;
python argonautica-py/examples/random_salt.py;
python argonautica-py/examples/verifier.py;
cargo test --release --features="simd serde"'
build: .
environment:
- LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/lib/x86_64-linux-gnu/
- RUST_BACKTRACE=1
volumes:
- .:/home/dev/argonautica
- target:/home/dev/argonautica/target
working_dir: /home/dev/argonautica
volumes:
target: