2019-01-16 12:02:57 +00:00
|
|
|
language: c
|
|
|
|
|
2019-01-16 12:02:57 +00:00
|
|
|
dist: xenial
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
2019-02-05 10:02:07 +00:00
|
|
|
- name: "Linux + GCC + Linting + Metadata"
|
|
|
|
os: linux
|
2019-01-16 12:02:57 +00:00
|
|
|
compiler: gcc
|
|
|
|
env:
|
2019-02-14 16:36:24 +00:00
|
|
|
- MAKETARGET="test-all tidy-all check-format check-metadata"
|
2019-01-22 14:21:49 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2019-02-13 16:45:09 +00:00
|
|
|
- astyle
|
2019-01-23 10:40:43 +00:00
|
|
|
- python3
|
2019-02-05 10:03:10 +00:00
|
|
|
- python3-yaml
|
2019-02-14 03:25:34 +00:00
|
|
|
- python3-nose
|
2019-02-05 10:03:10 +00:00
|
|
|
- valgrind
|
2019-02-05 10:02:07 +00:00
|
|
|
- name: "Linux + Clang"
|
|
|
|
os: linux
|
2019-01-16 12:02:57 +00:00
|
|
|
compiler: clang
|
|
|
|
env:
|
|
|
|
- MAKETARGET=test-all
|
2019-01-22 14:21:49 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2019-01-23 10:40:43 +00:00
|
|
|
- python3
|
2019-02-05 10:03:10 +00:00
|
|
|
- python3-yaml
|
2019-02-14 03:25:34 +00:00
|
|
|
- python3-nose
|
2019-02-05 10:03:10 +00:00
|
|
|
- valgrind
|
2019-02-11 13:59:33 +00:00
|
|
|
- name: "Linux 32-bit GCC"
|
|
|
|
os: linux
|
|
|
|
compiler: gcc # Clang has i386-libasan problems on xenial
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- gcc-multilib
|
|
|
|
- python3
|
|
|
|
- python3-yaml
|
2019-02-14 03:25:34 +00:00
|
|
|
- python3-nose
|
2019-02-11 13:59:33 +00:00
|
|
|
- valgrind
|
|
|
|
before_install:
|
|
|
|
- sudo dpkg --add-architecture i386
|
|
|
|
- sudo apt update -qq && sudo apt-get install -qqy libc6-dbg:i386
|
|
|
|
env:
|
|
|
|
- MAKETARGET=test-all
|
|
|
|
- EXTRAFLAGS=-m32
|
2019-02-11 12:07:43 +00:00
|
|
|
- name: "Run tests on qemu-ppc (GCC)"
|
2019-02-05 10:04:19 +00:00
|
|
|
os: linux
|
|
|
|
services: docker
|
|
|
|
env:
|
2019-02-14 16:53:54 +00:00
|
|
|
- MAKETARGET="run-functest-all run-testvectors-all run-sanitizer-all"
|
2019-02-11 12:07:43 +00:00
|
|
|
script:
|
2019-02-05 10:04:19 +00:00
|
|
|
- docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
2019-02-11 12:07:43 +00:00
|
|
|
- docker run --rm -v `pwd`:`pwd` -w `pwd` "pqclean/debian-unstable-ppc" /bin/bash -c "uname -a &&
|
2019-02-05 10:04:19 +00:00
|
|
|
make ${MAKETARGET}"
|
2019-02-14 00:45:05 +00:00
|
|
|
- name: "Run tests on qemu-arm32 (GCC)"
|
|
|
|
os: linux
|
|
|
|
services: docker
|
|
|
|
env:
|
2019-02-15 08:59:21 +00:00
|
|
|
- MAKETARGET="run-functest-all run-testvectors-all run-sanitizer-all"
|
2019-02-14 00:45:05 +00:00
|
|
|
script:
|
|
|
|
- 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 &&
|
|
|
|
make ${MAKETARGET}"
|
|
|
|
- name: "Run tests on qemu-aarch64 (GCC)"
|
|
|
|
os: linux
|
|
|
|
services: docker
|
|
|
|
env:
|
2019-02-15 08:59:21 +00:00
|
|
|
- MAKETARGET="run-functest-all run-testvectors-all run-sanitizer-all"
|
2019-02-14 00:45:05 +00:00
|
|
|
script:
|
|
|
|
- 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 &&
|
|
|
|
make ${MAKETARGET}"
|
2019-02-05 10:02:07 +00:00
|
|
|
- name: "MacOS + Clang"
|
|
|
|
os: osx
|
2019-01-22 14:21:49 +00:00
|
|
|
osx_image: xcode10.1
|
2019-01-16 12:02:57 +00:00
|
|
|
compiler: clang
|
2019-02-05 10:03:10 +00:00
|
|
|
before_install:
|
|
|
|
- pip3 install -r requirements.txt
|
2019-01-16 12:02:57 +00:00
|
|
|
env:
|
|
|
|
- MAKETARGET=test-all
|
2019-02-05 10:02:07 +00:00
|
|
|
- name: "MacOS + GCC8"
|
|
|
|
os: osx
|
2019-01-22 14:21:49 +00:00
|
|
|
osx_image: xcode10.1
|
|
|
|
compiler: gcc
|
|
|
|
addons:
|
|
|
|
homebrew:
|
|
|
|
packages:
|
|
|
|
- gcc@8
|
2019-02-05 10:03:10 +00:00
|
|
|
before_install:
|
|
|
|
- pip3 install -r requirements.txt
|
2019-01-22 14:21:49 +00:00
|
|
|
env:
|
|
|
|
- MAKETARGET=test-all
|
2019-01-16 12:02:57 +00:00
|
|
|
|
2019-01-16 12:02:57 +00:00
|
|
|
script:
|
2019-01-16 12:02:57 +00:00
|
|
|
- make ${MAKETARGET}
|
2019-02-14 03:31:37 +00:00
|
|
|
- cd test && python3 -m nose -v
|
2019-01-16 12:02:57 +00:00
|
|
|
|
2019-01-22 14:21:49 +00:00
|
|
|
cache: pip
|
|
|
|
|
2019-01-16 12:02:57 +00:00
|
|
|
# vim: set ft=yaml ts=2 sw=2 tw=0 et :
|