1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-22 23:48:58 +00:00

Merge pull request #44 from henrydcase/kris/gh33

Enable address and UB sanitizers
This commit is contained in:
Thom Wiggers 2019-02-19 12:37:04 +01:00 committed by GitHub
commit d7b2d63a89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,21 +57,21 @@ matrix:
os: linux os: linux
services: docker services: docker
env: env:
- MAKETARGET="run-functest-all" - MAKETARGET="run-functest-all run-sanitizer-all"
script: script:
- docker run --rm --privileged multiarch/qemu-user-static:register --reset - docker run --rm --privileged multiarch/qemu-user-static:register --reset
- docker run --rm -v `pwd`:`pwd` -w `pwd` "pqclean/debian-buster-arm" /bin/bash -c "uname -a && - docker run --rm -v `pwd`:`pwd` -w `pwd` "pqclean/debian-buster-arm" /bin/bash -c "uname -a &&
make ${MAKETARGET} && ASAN_OPTIONS=detect_leaks=0 make ${MAKETARGET} &&
cd test && python3 -m nose --rednose --verbose" cd test && python3 -m nose --rednose --verbose"
- name: "Run tests on qemu-aarch64 (GCC)" - name: "Run tests on qemu-aarch64 (GCC)"
os: linux os: linux
services: docker services: docker
env: env:
- MAKETARGET="run-functest-all" - MAKETARGET="run-functest-all run-sanitizer-all"
script: script:
- docker run --rm --privileged multiarch/qemu-user-static:register --reset - docker run --rm --privileged multiarch/qemu-user-static:register --reset
- docker run --rm -v `pwd`:`pwd` -w `pwd` "pqclean/debian-buster-aarch64" /bin/bash -c "uname -a && - docker run --rm -v `pwd`:`pwd` -w `pwd` "pqclean/debian-buster-aarch64" /bin/bash -c "uname -a &&
make ${MAKETARGET} && ASAN_OPTIONS=detect_leaks=0 make ${MAKETARGET} &&
cd test && python3 -m nose --rednose --verbose" cd test && python3 -m nose --rednose --verbose"
- name: "MacOS + Clang" - name: "MacOS + Clang"
os: osx os: osx