mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-22 23:48:58 +00:00
Merge pull request #229 from PQClean/split_ci
Run KEMs and SIGs as separate CI jobs
This commit is contained in:
commit
3237c2175e
@ -17,7 +17,7 @@ version: 2.1
|
|||||||
- run:
|
- run:
|
||||||
name: Run the tests in a container
|
name: Run the tests in a container
|
||||||
command: |
|
command: |
|
||||||
docker run -e CI=true -e PQCLEAN_ONLY_DIFF=1 -e PQCLEAN_SKIP_SCHEMES=sphincs-haraka-128f-robust,sphincs-haraka-192s-robust,sphincs-sha256-128f-robust,sphincs-sha256-192s-robust,sphincs-shake256-128f-robust,sphincs-shake256-192s-robust,sphincs-haraka-128f-simple,sphincs-haraka-192s-simple,sphincs-sha256-128f-simple,sphincs-sha256-192s-simple,sphincs-shake256-128f-simple,sphincs-shake256-192s-simple,sphincs-haraka-128s-robust,sphincs-haraka-256f-robust,sphincs-sha256-128s-robust,sphincs-sha256-256f-robust,sphincs-shake256-128s-robust,sphincs-shake256-256f-robust,sphincs-haraka-128s-simple,sphincs-haraka-256f-simple,sphincs-sha256-128s-simple,sphincs-sha256-256f-simple,sphincs-shake256-128s-simple,sphincs-shake256-256f-simple,sphincs-haraka-192f-robust,sphincs-haraka-256s-robust,sphincs-sha256-192f-robust,sphincs-sha256-256s-robust,sphincs-shake256-192f-robust,sphincs-shake256-256s-robust,sphincs-haraka-192f-simple,sphincs-haraka-256s-simple,sphincs-sha256-192f-simple,sphincs-sha256-256s-simple,sphincs-shake256-192f-simple,sphincs-shake256-256s-simple --rm -v `pwd`:`pwd` -w `pwd` "pqclean/ci-container:$ARCH" /bin/bash -c "
|
docker run -e CI=true -e PQCLEAN_ONLY_TYPES -e PQCLEAN_ONLY_DIFF=1 -e PQCLEAN_SKIP_SCHEMES=sphincs-haraka-128f-robust,sphincs-haraka-192s-robust,sphincs-sha256-128f-robust,sphincs-sha256-192s-robust,sphincs-shake256-128f-robust,sphincs-shake256-192s-robust,sphincs-haraka-128f-simple,sphincs-haraka-192s-simple,sphincs-sha256-128f-simple,sphincs-sha256-192s-simple,sphincs-shake256-128f-simple,sphincs-shake256-192s-simple,sphincs-haraka-128s-robust,sphincs-haraka-256f-robust,sphincs-sha256-128s-robust,sphincs-sha256-256f-robust,sphincs-shake256-128s-robust,sphincs-shake256-256f-robust,sphincs-haraka-128s-simple,sphincs-haraka-256f-simple,sphincs-sha256-128s-simple,sphincs-sha256-256f-simple,sphincs-shake256-128s-simple,sphincs-shake256-256f-simple,sphincs-haraka-192f-robust,sphincs-haraka-256s-robust,sphincs-sha256-192f-robust,sphincs-sha256-256s-robust,sphincs-shake256-192f-robust,sphincs-shake256-256s-robust,sphincs-haraka-192f-simple,sphincs-haraka-256s-simple,sphincs-sha256-192f-simple,sphincs-sha256-256s-simple,sphincs-shake256-192f-simple,sphincs-shake256-256s-simple --rm -v `pwd`:`pwd` -w `pwd` "pqclean/ci-container:$ARCH" /bin/bash -c "
|
||||||
uname -a &&
|
uname -a &&
|
||||||
export CC=${CC} &&
|
export CC=${CC} &&
|
||||||
pip3 install -r requirements.txt &&
|
pip3 install -r requirements.txt &&
|
||||||
@ -51,145 +51,332 @@ version: 2.1
|
|||||||
path: test/test-results
|
path: test/test-results
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
arm64-gcc:
|
# First the KEM jobs
|
||||||
|
arm64-gcc-kem:
|
||||||
<<: *defaultjob
|
<<: *defaultjob
|
||||||
environment:
|
environment:
|
||||||
CC: gcc
|
CC: gcc
|
||||||
ARCH: arm64
|
ARCH: arm64
|
||||||
arm64-clang:
|
PQCLEAN_ONLY_TYPES: kem
|
||||||
|
arm64-clang-kem:
|
||||||
<<: *defaultjob
|
<<: *defaultjob
|
||||||
environment:
|
environment:
|
||||||
CC: clang
|
CC: clang
|
||||||
ARCH: arm64
|
ARCH: arm64
|
||||||
arm32-gcc:
|
PQCLEAN_ONLY_TYPES: kem
|
||||||
|
arm32-gcc-kem:
|
||||||
<<: *defaultjob
|
<<: *defaultjob
|
||||||
environment:
|
environment:
|
||||||
CC: gcc
|
CC: gcc
|
||||||
ARCH: armhf
|
ARCH: armhf
|
||||||
arm32-clang:
|
PQCLEAN_ONLY_TYPES: kem
|
||||||
|
arm32-clang-kem:
|
||||||
<<: *defaultjob
|
<<: *defaultjob
|
||||||
environment:
|
environment:
|
||||||
CC: clang
|
CC: clang
|
||||||
ARCH: armhf
|
ARCH: armhf
|
||||||
ppc-clang:
|
PQCLEAN_ONLY_TYPES: kem
|
||||||
|
ppc-clang-kem:
|
||||||
<<: *defaultjob
|
<<: *defaultjob
|
||||||
environment:
|
environment:
|
||||||
CC: clang
|
CC: clang
|
||||||
ARCH: unstable-ppc
|
ARCH: unstable-ppc
|
||||||
ppc-gcc:
|
PQCLEAN_ONLY_TYPES: kem
|
||||||
|
ppc-gcc-kem:
|
||||||
<<: *defaultjob
|
<<: *defaultjob
|
||||||
environment:
|
environment:
|
||||||
CC: gcc
|
CC: gcc
|
||||||
ARCH: unstable-ppc
|
ARCH: unstable-ppc
|
||||||
amd64-gcc:
|
PQCLEAN_ONLY_TYPES: kem
|
||||||
|
amd64-gcc-kem:
|
||||||
<<: *nativejob
|
<<: *nativejob
|
||||||
environment:
|
environment:
|
||||||
CC: gcc
|
CC: gcc
|
||||||
ARCH: amd64
|
ARCH: amd64
|
||||||
amd64-clang:
|
PQCLEAN_ONLY_TYPES: kem
|
||||||
|
amd64-clang-kem:
|
||||||
<<: *nativejob
|
<<: *nativejob
|
||||||
environment:
|
environment:
|
||||||
CC: gcc
|
CC: gcc
|
||||||
ARCH: amd64
|
ARCH: amd64
|
||||||
i386-gcc:
|
PQCLEAN_ONLY_TYPES: kem
|
||||||
|
i386-gcc-kem:
|
||||||
<<: *nativejob
|
<<: *nativejob
|
||||||
environment:
|
environment:
|
||||||
CC: gcc
|
CC: gcc
|
||||||
ARCH: i386
|
ARCH: i386
|
||||||
i386-clang:
|
PQCLEAN_ONLY_TYPES: kem
|
||||||
|
i386-clang-kem:
|
||||||
<<: *nativejob
|
<<: *nativejob
|
||||||
environment:
|
environment:
|
||||||
CC: gcc
|
CC: gcc
|
||||||
ARCH: i386
|
ARCH: i386
|
||||||
|
PQCLEAN_ONLY_TYPES: kem
|
||||||
# These are for the scheduled builds
|
# These are for the scheduled builds
|
||||||
arm64-gcc-slow:
|
arm64-gcc-slow-kem:
|
||||||
<<: *defaultjob
|
<<: *defaultjob
|
||||||
environment:
|
environment:
|
||||||
CC: gcc
|
CC: gcc
|
||||||
ARCH: arm64
|
ARCH: arm64
|
||||||
|
PQCLEAN_ONLY_TYPES: kem
|
||||||
RUN_SLOW: 1
|
RUN_SLOW: 1
|
||||||
arm64-clang-slow:
|
arm64-clang-slow-kem:
|
||||||
<<: *defaultjob
|
<<: *defaultjob
|
||||||
environment:
|
environment:
|
||||||
CC: clang
|
CC: clang
|
||||||
ARCH: arm64
|
ARCH: arm64
|
||||||
|
PQCLEAN_ONLY_TYPES: kem
|
||||||
RUN_SLOW: 1
|
RUN_SLOW: 1
|
||||||
arm32-gcc-slow:
|
arm32-gcc-slow-kem:
|
||||||
<<: *defaultjob
|
<<: *defaultjob
|
||||||
environment:
|
environment:
|
||||||
CC: gcc
|
CC: gcc
|
||||||
ARCH: armhf
|
ARCH: armhf
|
||||||
RUN_SLOW: 1
|
RUN_SLOW: 1
|
||||||
arm32-clang-slow:
|
PQCLEAN_ONLY_TYPES: kem
|
||||||
|
arm32-clang-slow-kem:
|
||||||
<<: *defaultjob
|
<<: *defaultjob
|
||||||
environment:
|
environment:
|
||||||
CC: clang
|
CC: clang
|
||||||
ARCH: armhf
|
ARCH: armhf
|
||||||
RUN_SLOW: 1
|
RUN_SLOW: 1
|
||||||
ppc-clang-slow:
|
PQCLEAN_ONLY_TYPES: kem
|
||||||
|
ppc-clang-slow-kem:
|
||||||
<<: *defaultjob
|
<<: *defaultjob
|
||||||
environment:
|
environment:
|
||||||
CC: clang
|
CC: clang
|
||||||
ARCH: unstable-ppc
|
ARCH: unstable-ppc
|
||||||
RUN_SLOW: 1
|
RUN_SLOW: 1
|
||||||
ppc-gcc-slow:
|
PQCLEAN_ONLY_TYPES: kem
|
||||||
|
ppc-gcc-slow-kem:
|
||||||
<<: *defaultjob
|
<<: *defaultjob
|
||||||
environment:
|
environment:
|
||||||
CC: gcc
|
CC: gcc
|
||||||
ARCH: unstable-ppc
|
ARCH: unstable-ppc
|
||||||
RUN_SLOW: 1
|
RUN_SLOW: 1
|
||||||
amd64-gcc-slow:
|
PQCLEAN_ONLY_TYPES: kem
|
||||||
|
amd64-gcc-slow-kem:
|
||||||
<<: *nativejob
|
<<: *nativejob
|
||||||
environment:
|
environment:
|
||||||
CC: gcc
|
CC: gcc
|
||||||
ARCH: amd64
|
ARCH: amd64
|
||||||
RUN_SLOW: 1
|
RUN_SLOW: 1
|
||||||
amd64-clang-slow:
|
PQCLEAN_ONLY_TYPES: kem
|
||||||
|
amd64-clang-slow-kem:
|
||||||
<<: *nativejob
|
<<: *nativejob
|
||||||
environment:
|
environment:
|
||||||
CC: gcc
|
CC: gcc
|
||||||
ARCH: amd64
|
ARCH: amd64
|
||||||
RUN_SLOW: 1
|
RUN_SLOW: 1
|
||||||
i386-gcc-slow:
|
PQCLEAN_ONLY_TYPES: kem
|
||||||
|
i386-gcc-slow-kem:
|
||||||
<<: *nativejob
|
<<: *nativejob
|
||||||
environment:
|
environment:
|
||||||
CC: gcc
|
CC: gcc
|
||||||
ARCH: i386
|
ARCH: i386
|
||||||
RUN_SLOW: 1
|
RUN_SLOW: 1
|
||||||
i386-clang-slow:
|
PQCLEAN_ONLY_TYPES: kem
|
||||||
|
i386-clang-slow-kem:
|
||||||
<<: *nativejob
|
<<: *nativejob
|
||||||
environment:
|
environment:
|
||||||
CC: gcc
|
CC: gcc
|
||||||
ARCH: i386
|
ARCH: i386
|
||||||
RUN_SLOW: 1
|
RUN_SLOW: 1
|
||||||
|
PQCLEAN_ONLY_TYPES: kem
|
||||||
|
# the Sign jobs
|
||||||
|
arm64-gcc-sign:
|
||||||
|
<<: *defaultjob
|
||||||
|
environment:
|
||||||
|
CC: gcc
|
||||||
|
ARCH: arm64
|
||||||
|
PQCLEAN_ONLY_TYPES: sign
|
||||||
|
arm64-clang-sign:
|
||||||
|
<<: *defaultjob
|
||||||
|
environment:
|
||||||
|
CC: clang
|
||||||
|
ARCH: arm64
|
||||||
|
PQCLEAN_ONLY_TYPES: sign
|
||||||
|
arm32-gcc-sign:
|
||||||
|
<<: *defaultjob
|
||||||
|
environment:
|
||||||
|
CC: gcc
|
||||||
|
ARCH: armhf
|
||||||
|
PQCLEAN_ONLY_TYPES: sign
|
||||||
|
arm32-clang-sign:
|
||||||
|
<<: *defaultjob
|
||||||
|
environment:
|
||||||
|
CC: clang
|
||||||
|
ARCH: armhf
|
||||||
|
PQCLEAN_ONLY_TYPES: sign
|
||||||
|
ppc-clang-sign:
|
||||||
|
<<: *defaultjob
|
||||||
|
environment:
|
||||||
|
CC: clang
|
||||||
|
ARCH: unstable-ppc
|
||||||
|
PQCLEAN_ONLY_TYPES: sign
|
||||||
|
ppc-gcc-sign:
|
||||||
|
<<: *defaultjob
|
||||||
|
environment:
|
||||||
|
CC: gcc
|
||||||
|
ARCH: unstable-ppc
|
||||||
|
PQCLEAN_ONLY_TYPES: sign
|
||||||
|
amd64-gcc-sign:
|
||||||
|
<<: *nativejob
|
||||||
|
environment:
|
||||||
|
CC: gcc
|
||||||
|
ARCH: amd64
|
||||||
|
PQCLEAN_ONLY_TYPES: sign
|
||||||
|
amd64-clang-sign:
|
||||||
|
<<: *nativejob
|
||||||
|
environment:
|
||||||
|
CC: gcc
|
||||||
|
ARCH: amd64
|
||||||
|
PQCLEAN_ONLY_TYPES: sign
|
||||||
|
i386-gcc-sign:
|
||||||
|
<<: *nativejob
|
||||||
|
environment:
|
||||||
|
CC: gcc
|
||||||
|
ARCH: i386
|
||||||
|
PQCLEAN_ONLY_TYPES: sign
|
||||||
|
i386-clang-sign:
|
||||||
|
<<: *nativejob
|
||||||
|
environment:
|
||||||
|
CC: gcc
|
||||||
|
ARCH: i386
|
||||||
|
PQCLEAN_ONLY_TYPES: sign
|
||||||
|
# These are for the scheduled builds
|
||||||
|
arm64-gcc-slow-sign:
|
||||||
|
<<: *defaultjob
|
||||||
|
environment:
|
||||||
|
CC: gcc
|
||||||
|
ARCH: arm64
|
||||||
|
PQCLEAN_ONLY_TYPES: sign
|
||||||
|
RUN_SLOW: 1
|
||||||
|
arm64-clang-slow-sign:
|
||||||
|
<<: *defaultjob
|
||||||
|
environment:
|
||||||
|
CC: clang
|
||||||
|
ARCH: arm64
|
||||||
|
PQCLEAN_ONLY_TYPES: sign
|
||||||
|
RUN_SLOW: 1
|
||||||
|
arm32-gcc-slow-sign:
|
||||||
|
<<: *defaultjob
|
||||||
|
environment:
|
||||||
|
CC: gcc
|
||||||
|
ARCH: armhf
|
||||||
|
RUN_SLOW: 1
|
||||||
|
PQCLEAN_ONLY_TYPES: sign
|
||||||
|
arm32-clang-slow-sign:
|
||||||
|
<<: *defaultjob
|
||||||
|
environment:
|
||||||
|
CC: clang
|
||||||
|
ARCH: armhf
|
||||||
|
RUN_SLOW: 1
|
||||||
|
PQCLEAN_ONLY_TYPES: sign
|
||||||
|
ppc-clang-slow-sign:
|
||||||
|
<<: *defaultjob
|
||||||
|
environment:
|
||||||
|
CC: clang
|
||||||
|
ARCH: unstable-ppc
|
||||||
|
RUN_SLOW: 1
|
||||||
|
PQCLEAN_ONLY_TYPES: sign
|
||||||
|
ppc-gcc-slow-sign:
|
||||||
|
<<: *defaultjob
|
||||||
|
environment:
|
||||||
|
CC: gcc
|
||||||
|
ARCH: unstable-ppc
|
||||||
|
RUN_SLOW: 1
|
||||||
|
PQCLEAN_ONLY_TYPES: sign
|
||||||
|
amd64-gcc-slow-sign:
|
||||||
|
<<: *nativejob
|
||||||
|
environment:
|
||||||
|
CC: gcc
|
||||||
|
ARCH: amd64
|
||||||
|
RUN_SLOW: 1
|
||||||
|
PQCLEAN_ONLY_TYPES: sign
|
||||||
|
amd64-clang-slow-sign:
|
||||||
|
<<: *nativejob
|
||||||
|
environment:
|
||||||
|
CC: gcc
|
||||||
|
ARCH: amd64
|
||||||
|
RUN_SLOW: 1
|
||||||
|
PQCLEAN_ONLY_TYPES: sign
|
||||||
|
i386-gcc-slow-sign:
|
||||||
|
<<: *nativejob
|
||||||
|
environment:
|
||||||
|
CC: gcc
|
||||||
|
ARCH: i386
|
||||||
|
RUN_SLOW: 1
|
||||||
|
PQCLEAN_ONLY_TYPES: sign
|
||||||
|
i386-clang-slow-sign:
|
||||||
|
<<: *nativejob
|
||||||
|
environment:
|
||||||
|
CC: gcc
|
||||||
|
ARCH: i386
|
||||||
|
RUN_SLOW: 1
|
||||||
|
PQCLEAN_ONLY_TYPES: sign
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
build:
|
build:
|
||||||
jobs:
|
jobs:
|
||||||
- arm64-gcc:
|
# AMD64
|
||||||
|
- amd64-gcc-kem
|
||||||
|
- amd64-clang-kem
|
||||||
|
- amd64-gcc-sign
|
||||||
|
- amd64-clang-sign
|
||||||
|
# i386
|
||||||
|
- i386-gcc-kem: &i386
|
||||||
requires:
|
requires:
|
||||||
- amd64-gcc
|
- amd64-gcc-kem
|
||||||
- arm64-clang:
|
- amd64-gcc-sign
|
||||||
|
- amd64-clang-kem
|
||||||
|
- amd64-clang-sign
|
||||||
|
- i386-clang-kem:
|
||||||
|
<<: *i386
|
||||||
|
- i386-gcc-sign:
|
||||||
|
<<: *i386
|
||||||
|
- i386-clang-sign:
|
||||||
|
<<: *i386
|
||||||
|
# ARMv8
|
||||||
|
- arm64-gcc-kem: &arm64
|
||||||
requires:
|
requires:
|
||||||
- amd64-clang
|
- i386-gcc-kem
|
||||||
- arm32-gcc:
|
- i386-gcc-sign
|
||||||
|
- i386-clang-sign
|
||||||
|
- i386-clang-kem
|
||||||
|
- arm64-gcc-sign:
|
||||||
|
<<: *arm64
|
||||||
|
- arm64-clang-kem:
|
||||||
|
<<: *arm64
|
||||||
|
- arm64-clang-sign:
|
||||||
|
<<: *arm64
|
||||||
|
# ARM 32 bit
|
||||||
|
- arm32-gcc-kem: &arm32
|
||||||
requires:
|
requires:
|
||||||
- i386-gcc
|
- arm64-gcc-kem
|
||||||
- arm32-clang:
|
- arm64-gcc-sign
|
||||||
|
- arm64-clang-kem
|
||||||
|
- arm64-clang-sign
|
||||||
|
- arm32-clang-kem:
|
||||||
|
<<: *arm32
|
||||||
|
- arm32-gcc-sign:
|
||||||
|
<<: *arm32
|
||||||
|
- arm32-clang-sign:
|
||||||
|
<<: *arm32
|
||||||
|
# PPC
|
||||||
|
- ppc-gcc-kem: &ppc
|
||||||
requires:
|
requires:
|
||||||
- i386-clang
|
- arm32-gcc-kem
|
||||||
- ppc-gcc:
|
- arm32-clang-kem
|
||||||
requires:
|
- arm32-gcc-sign
|
||||||
- arm32-gcc
|
- arm32-clang-sign
|
||||||
- ppc-clang:
|
- ppc-clang-kem:
|
||||||
requires:
|
<<: *ppc
|
||||||
- arm32-clang
|
- ppc-gcc-sign:
|
||||||
- amd64-gcc
|
<<: *ppc
|
||||||
- amd64-clang
|
- ppc-clang-sign:
|
||||||
- i386-gcc
|
<<: *ppc
|
||||||
- i386-clang
|
|
||||||
scheduled:
|
scheduled:
|
||||||
triggers:
|
triggers:
|
||||||
- schedule:
|
- schedule:
|
||||||
@ -198,17 +385,28 @@ workflows:
|
|||||||
branches:
|
branches:
|
||||||
only: master
|
only: master
|
||||||
jobs:
|
jobs:
|
||||||
- arm64-gcc-slow
|
- amd64-clang-slow-kem
|
||||||
- arm64-gcc-slow
|
- amd64-clang-slow-sign
|
||||||
- arm64-clang-slow
|
- amd64-gcc-slow-kem
|
||||||
- arm32-gcc-slow
|
- amd64-gcc-slow-sign
|
||||||
- arm32-clang-slow
|
- arm32-clang-slow-kem
|
||||||
- ppc-gcc-slow
|
- arm32-clang-slow-sign
|
||||||
- ppc-clang-slow
|
- arm32-gcc-slow-kem
|
||||||
- amd64-gcc-slow
|
- arm32-gcc-slow-sign
|
||||||
- amd64-clang-slow
|
- arm64-clang-slow-kem
|
||||||
- i386-gcc-slow
|
- arm64-clang-slow-sign
|
||||||
- i386-clang-slow
|
- arm64-gcc-slow-kem
|
||||||
|
- arm64-gcc-slow-kem
|
||||||
|
- arm64-gcc-slow-sign
|
||||||
|
- arm64-gcc-slow-sign
|
||||||
|
- i386-clang-slow-kem
|
||||||
|
- i386-clang-slow-sign
|
||||||
|
- i386-gcc-slow-kem
|
||||||
|
- i386-gcc-slow-sign
|
||||||
|
- ppc-clang-slow-kem
|
||||||
|
- ppc-clang-slow-sign
|
||||||
|
- ppc-gcc-slow-kem
|
||||||
|
- ppc-gcc-slow-sign
|
||||||
|
|
||||||
# vim: set ft=yaml ts=2 sw=2 tw=0 et :
|
# vim: set ft=yaml ts=2 sw=2 tw=0 et :
|
||||||
|
|
||||||
|
56
.travis.yml
56
.travis.yml
@ -2,7 +2,7 @@ language: c
|
|||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- name: "MacOS + Clang"
|
- name: "KEMs: MacOS + Clang"
|
||||||
os: osx
|
os: osx
|
||||||
osx_image: xcode10.2
|
osx_image: xcode10.2
|
||||||
compiler: clang
|
compiler: clang
|
||||||
@ -18,13 +18,14 @@ matrix:
|
|||||||
# Use travis-wait to allow slower tests to run
|
# Use travis-wait to allow slower tests to run
|
||||||
- "cd test && travis_wait 60 python3 -m pytest --numprocesses=auto"
|
- "cd test && travis_wait 60 python3 -m pytest --numprocesses=auto"
|
||||||
env:
|
env:
|
||||||
|
PQCLEAN_ONLY_TYPES: kem
|
||||||
PQCLEAN_ONLY_DIFF: 1
|
PQCLEAN_ONLY_DIFF: 1
|
||||||
PQCLEAN_SKIP_SCHEMES: sphincs-haraka-128f-robust,sphincs-haraka-192s-robust,sphincs-sha256-128f-robust,sphincs-sha256-192s-robust,sphincs-shake256-128f-robust,sphincs-shake256-192s-robust,sphincs-haraka-128f-simple,sphincs-haraka-192s-simple,sphincs-sha256-128f-simple,sphincs-sha256-192s-simple,sphincs-shake256-128f-simple,sphincs-shake256-192s-simple,sphincs-haraka-128s-robust,sphincs-haraka-256f-robust,sphincs-sha256-128s-robust,sphincs-sha256-256f-robust,sphincs-shake256-128s-robust,sphincs-shake256-256f-robust,sphincs-haraka-128s-simple,sphincs-haraka-256f-simple,sphincs-sha256-128s-simple,sphincs-sha256-256f-simple,sphincs-shake256-128s-simple,sphincs-shake256-256f-simple,sphincs-haraka-192f-robust,sphincs-haraka-256s-robust,sphincs-sha256-192f-robust,sphincs-sha256-256s-robust,sphincs-shake256-192f-robust,sphincs-shake256-256s-robust,sphincs-haraka-192f-simple,sphincs-haraka-256s-simple,sphincs-sha256-192f-simple,sphincs-sha256-256s-simple,sphincs-shake256-192f-simple,sphincs-shake256-256s-simple
|
PQCLEAN_SKIP_SCHEMES: sphincs-haraka-128f-robust,sphincs-haraka-192s-robust,sphincs-sha256-128f-robust,sphincs-sha256-192s-robust,sphincs-shake256-128f-robust,sphincs-shake256-192s-robust,sphincs-haraka-128f-simple,sphincs-haraka-192s-simple,sphincs-sha256-128f-simple,sphincs-sha256-192s-simple,sphincs-shake256-128f-simple,sphincs-shake256-192s-simple,sphincs-haraka-128s-robust,sphincs-haraka-256f-robust,sphincs-sha256-128s-robust,sphincs-sha256-256f-robust,sphincs-shake256-128s-robust,sphincs-shake256-256f-robust,sphincs-haraka-128s-simple,sphincs-haraka-256f-simple,sphincs-sha256-128s-simple,sphincs-sha256-256f-simple,sphincs-shake256-128s-simple,sphincs-shake256-256f-simple,sphincs-haraka-192f-robust,sphincs-haraka-256s-robust,sphincs-sha256-192f-robust,sphincs-sha256-256s-robust,sphincs-shake256-192f-robust,sphincs-shake256-256s-robust,sphincs-haraka-192f-simple,sphincs-haraka-256s-simple,sphincs-sha256-192f-simple,sphincs-sha256-256s-simple,sphincs-shake256-192f-simple,sphincs-shake256-256s-simple
|
||||||
addons:
|
addons:
|
||||||
homebrew:
|
homebrew:
|
||||||
packages:
|
packages:
|
||||||
- astyle
|
- astyle
|
||||||
- name: "MacOS + GCC8"
|
- name: "KEMs: MacOS + GCC8"
|
||||||
os: osx
|
os: osx
|
||||||
osx_image: xcode10.2
|
osx_image: xcode10.2
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
@ -34,6 +35,57 @@ matrix:
|
|||||||
- astyle
|
- astyle
|
||||||
- gcc@8
|
- gcc@8
|
||||||
env:
|
env:
|
||||||
|
PQCLEAN_ONLY_TYPES: kem
|
||||||
|
PQCLEAN_ONLY_DIFF: 1
|
||||||
|
PQCLEAN_SKIP_SCHEMES: sphincs-haraka-128f-robust,sphincs-haraka-192s-robust,sphincs-sha256-128f-robust,sphincs-sha256-192s-robust,sphincs-shake256-128f-robust,sphincs-shake256-192s-robust,sphincs-haraka-128f-simple,sphincs-haraka-192s-simple,sphincs-sha256-128f-simple,sphincs-sha256-192s-simple,sphincs-shake256-128f-simple,sphincs-shake256-192s-simple,sphincs-haraka-128s-robust,sphincs-haraka-256f-robust,sphincs-sha256-128s-robust,sphincs-sha256-256f-robust,sphincs-shake256-128s-robust,sphincs-shake256-256f-robust,sphincs-haraka-128s-simple,sphincs-haraka-256f-simple,sphincs-sha256-128s-simple,sphincs-sha256-256f-simple,sphincs-shake256-128s-simple,sphincs-shake256-256f-simple,sphincs-haraka-192f-robust,sphincs-haraka-256s-robust,sphincs-sha256-192f-robust,sphincs-sha256-256s-robust,sphincs-shake256-192f-robust,sphincs-shake256-256s-robust,sphincs-haraka-192f-simple,sphincs-haraka-256s-simple,sphincs-sha256-192f-simple,sphincs-sha256-256s-simple,sphincs-shake256-192f-simple,sphincs-shake256-256s-simple
|
||||||
|
before_install:
|
||||||
|
- export COMMIT=$(git rev-parse HEAD)
|
||||||
|
- git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
|
||||||
|
- git fetch --unshallow
|
||||||
|
- git checkout $TRAVIS_BRANCH
|
||||||
|
- git reset --hard $COMMIT
|
||||||
|
- pip3 install -r requirements.txt
|
||||||
|
- brew link gcc
|
||||||
|
- export PATH="/usr/local/bin:$PATH"
|
||||||
|
- ln -s /usr/local/bin/gcc-8 /usr/local/bin/gcc
|
||||||
|
- gcc --version
|
||||||
|
script:
|
||||||
|
# Use travis-wait to allow slower tests to run
|
||||||
|
- "cd test && travis_wait 60 python3 -m pytest --numprocesses=auto"
|
||||||
|
- name: "SIGs on MacOS + Clang"
|
||||||
|
os: osx
|
||||||
|
osx_image: xcode10.2
|
||||||
|
compiler: clang
|
||||||
|
before_install:
|
||||||
|
- pip3 install -r requirements.txt
|
||||||
|
before_script:
|
||||||
|
- export COMMIT=$(git rev-parse HEAD)
|
||||||
|
- git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
|
||||||
|
- git fetch --unshallow
|
||||||
|
- git checkout $TRAVIS_BRANCH
|
||||||
|
- git reset --hard $COMMIT
|
||||||
|
script:
|
||||||
|
# Use travis-wait to allow slower tests to run
|
||||||
|
- "cd test && travis_wait 60 python3 -m pytest --numprocesses=auto"
|
||||||
|
env:
|
||||||
|
PQCLEAN_ONLY_TYPES: sign
|
||||||
|
PQCLEAN_ONLY_DIFF: 1
|
||||||
|
PQCLEAN_SKIP_SCHEMES: sphincs-haraka-128f-robust,sphincs-haraka-192s-robust,sphincs-sha256-128f-robust,sphincs-sha256-192s-robust,sphincs-shake256-128f-robust,sphincs-shake256-192s-robust,sphincs-haraka-128f-simple,sphincs-haraka-192s-simple,sphincs-sha256-128f-simple,sphincs-sha256-192s-simple,sphincs-shake256-128f-simple,sphincs-shake256-192s-simple,sphincs-haraka-128s-robust,sphincs-haraka-256f-robust,sphincs-sha256-128s-robust,sphincs-sha256-256f-robust,sphincs-shake256-128s-robust,sphincs-shake256-256f-robust,sphincs-haraka-128s-simple,sphincs-haraka-256f-simple,sphincs-sha256-128s-simple,sphincs-sha256-256f-simple,sphincs-shake256-128s-simple,sphincs-shake256-256f-simple,sphincs-haraka-192f-robust,sphincs-haraka-256s-robust,sphincs-sha256-192f-robust,sphincs-sha256-256s-robust,sphincs-shake256-192f-robust,sphincs-shake256-256s-robust,sphincs-haraka-192f-simple,sphincs-haraka-256s-simple,sphincs-sha256-192f-simple,sphincs-sha256-256s-simple,sphincs-shake256-192f-simple,sphincs-shake256-256s-simple
|
||||||
|
addons:
|
||||||
|
homebrew:
|
||||||
|
packages:
|
||||||
|
- astyle
|
||||||
|
- name: "SIGs on MacOS + GCC8"
|
||||||
|
os: osx
|
||||||
|
osx_image: xcode10.2
|
||||||
|
compiler: gcc
|
||||||
|
addons:
|
||||||
|
homebrew:
|
||||||
|
packages:
|
||||||
|
- astyle
|
||||||
|
- gcc@8
|
||||||
|
env:
|
||||||
|
PQCLEAN_ONLY_TYPES: sign
|
||||||
PQCLEAN_ONLY_DIFF: 1
|
PQCLEAN_ONLY_DIFF: 1
|
||||||
PQCLEAN_SKIP_SCHEMES: sphincs-haraka-128f-robust,sphincs-haraka-192s-robust,sphincs-sha256-128f-robust,sphincs-sha256-192s-robust,sphincs-shake256-128f-robust,sphincs-shake256-192s-robust,sphincs-haraka-128f-simple,sphincs-haraka-192s-simple,sphincs-sha256-128f-simple,sphincs-sha256-192s-simple,sphincs-shake256-128f-simple,sphincs-shake256-192s-simple,sphincs-haraka-128s-robust,sphincs-haraka-256f-robust,sphincs-sha256-128s-robust,sphincs-sha256-256f-robust,sphincs-shake256-128s-robust,sphincs-shake256-256f-robust,sphincs-haraka-128s-simple,sphincs-haraka-256f-simple,sphincs-sha256-128s-simple,sphincs-sha256-256f-simple,sphincs-shake256-128s-simple,sphincs-shake256-256f-simple,sphincs-haraka-192f-robust,sphincs-haraka-256s-robust,sphincs-sha256-192f-robust,sphincs-sha256-256s-robust,sphincs-shake256-192f-robust,sphincs-shake256-256s-robust,sphincs-haraka-192f-simple,sphincs-haraka-256s-simple,sphincs-sha256-192f-simple,sphincs-sha256-256s-simple,sphincs-shake256-192f-simple,sphincs-shake256-256s-simple
|
PQCLEAN_SKIP_SCHEMES: sphincs-haraka-128f-robust,sphincs-haraka-192s-robust,sphincs-sha256-128f-robust,sphincs-sha256-192s-robust,sphincs-shake256-128f-robust,sphincs-shake256-192s-robust,sphincs-haraka-128f-simple,sphincs-haraka-192s-simple,sphincs-sha256-128f-simple,sphincs-sha256-192s-simple,sphincs-shake256-128f-simple,sphincs-shake256-192s-simple,sphincs-haraka-128s-robust,sphincs-haraka-256f-robust,sphincs-sha256-128s-robust,sphincs-sha256-256f-robust,sphincs-shake256-128s-robust,sphincs-shake256-256f-robust,sphincs-haraka-128s-simple,sphincs-haraka-256f-simple,sphincs-sha256-128s-simple,sphincs-sha256-256f-simple,sphincs-shake256-128s-simple,sphincs-shake256-256f-simple,sphincs-haraka-192f-robust,sphincs-haraka-256s-robust,sphincs-sha256-192f-robust,sphincs-sha256-256s-robust,sphincs-shake256-192f-robust,sphincs-shake256-256s-robust,sphincs-haraka-192f-simple,sphincs-haraka-256s-simple,sphincs-sha256-192f-simple,sphincs-sha256-256s-simple,sphincs-shake256-192f-simple,sphincs-shake256-256s-simple
|
||||||
before_install:
|
before_install:
|
||||||
|
@ -12,7 +12,13 @@ environment:
|
|||||||
PQCLEAN_SKIP_SCHEMES: sphincs-haraka-128f-robust,sphincs-haraka-192s-robust,sphincs-sha256-128f-robust,sphincs-sha256-192s-robust,sphincs-shake256-128f-robust,sphincs-shake256-192s-robust,sphincs-haraka-128f-simple,sphincs-haraka-192s-simple,sphincs-sha256-128f-simple,sphincs-sha256-192s-simple,sphincs-shake256-128f-simple,sphincs-shake256-192s-simple,sphincs-haraka-128s-robust,sphincs-haraka-256f-robust,sphincs-sha256-128s-robust,sphincs-sha256-256f-robust,sphincs-shake256-128s-robust,sphincs-shake256-256f-robust,sphincs-haraka-128s-simple,sphincs-haraka-256f-simple,sphincs-sha256-128s-simple,sphincs-sha256-256f-simple,sphincs-shake256-128s-simple,sphincs-shake256-256f-simple,sphincs-haraka-192f-robust,sphincs-haraka-256s-robust,sphincs-sha256-192f-robust,sphincs-sha256-256s-robust,sphincs-shake256-192f-robust,sphincs-shake256-256s-robust,sphincs-haraka-192f-simple,sphincs-haraka-256s-simple,sphincs-sha256-192f-simple,sphincs-sha256-256s-simple,sphincs-shake256-192f-simple,sphincs-shake256-256s-simple
|
PQCLEAN_SKIP_SCHEMES: sphincs-haraka-128f-robust,sphincs-haraka-192s-robust,sphincs-sha256-128f-robust,sphincs-sha256-192s-robust,sphincs-shake256-128f-robust,sphincs-shake256-192s-robust,sphincs-haraka-128f-simple,sphincs-haraka-192s-simple,sphincs-sha256-128f-simple,sphincs-sha256-192s-simple,sphincs-shake256-128f-simple,sphincs-shake256-192s-simple,sphincs-haraka-128s-robust,sphincs-haraka-256f-robust,sphincs-sha256-128s-robust,sphincs-sha256-256f-robust,sphincs-shake256-128s-robust,sphincs-shake256-256f-robust,sphincs-haraka-128s-simple,sphincs-haraka-256f-simple,sphincs-sha256-128s-simple,sphincs-sha256-256f-simple,sphincs-shake256-128s-simple,sphincs-shake256-256f-simple,sphincs-haraka-192f-robust,sphincs-haraka-256s-robust,sphincs-sha256-192f-robust,sphincs-sha256-256s-robust,sphincs-shake256-192f-robust,sphincs-shake256-256s-robust,sphincs-haraka-192f-simple,sphincs-haraka-256s-simple,sphincs-sha256-192f-simple,sphincs-sha256-256s-simple,sphincs-shake256-192f-simple,sphincs-shake256-256s-simple
|
||||||
matrix:
|
matrix:
|
||||||
- BITS: 64
|
- BITS: 64
|
||||||
|
PQCLEAN_ONLY_TYPES: kem
|
||||||
- BITS: 32
|
- BITS: 32
|
||||||
|
PQCLEAN_ONLY_TYPES: kem
|
||||||
|
- BITS: 64
|
||||||
|
PQCLEAN_ONLY_TYPES: sign
|
||||||
|
- BITS: 32
|
||||||
|
PQCLEAN_ONLY_TYPES: sign
|
||||||
|
|
||||||
init:
|
init:
|
||||||
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars%BITS%.bat"
|
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars%BITS%.bat"
|
||||||
|
Loading…
Reference in New Issue
Block a user