mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-22 23:48:58 +00:00
a9e7e904d3
This has the downside of not supporting running tests on Valgrind, see the discussion in issue #15. However, this does test quite a lot already. This uses the docker container defined in https://github.com/thomwiggers/debian-unstable-powerpc/. Co-authored-by: Thom Wiggers <thom@thomwiggers.nl>
66 lines
1.6 KiB
YAML
66 lines
1.6 KiB
YAML
language: c
|
|
|
|
dist: xenial
|
|
|
|
matrix:
|
|
include:
|
|
- name: "Linux + GCC + Linting + Metadata"
|
|
os: linux
|
|
compiler: gcc
|
|
env:
|
|
- MAKETARGET="test-all tidy-all check-format check-metadata check-license-files"
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- python3
|
|
- python3-yaml
|
|
- valgrind
|
|
- name: "Linux + Clang"
|
|
os: linux
|
|
compiler: clang
|
|
env:
|
|
- MAKETARGET=test-all
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- python3
|
|
- python3-yaml
|
|
- valgrind
|
|
- name: "Run tests on qemu-ppc"
|
|
os: linux
|
|
services: docker
|
|
env:
|
|
- MAKETARGET="run-functest-all run-testvectors-all run-sanitizer-all run-symbol-namespace-all"
|
|
script: # TODO: should we do this in a Dockerfile instead?
|
|
- docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
|
- docker run --rm -v `pwd`:`pwd` -w `pwd` "twiggers/debian-sid-powerpc" /bin/bash -c "uname -a &&
|
|
make ${MAKETARGET}"
|
|
- name: "MacOS + Clang"
|
|
os: osx
|
|
osx_image: xcode10.1
|
|
compiler: clang
|
|
before_install:
|
|
- pip3 install -r requirements.txt
|
|
env:
|
|
- MAKETARGET=test-all
|
|
- name: "MacOS + GCC8"
|
|
os: osx
|
|
osx_image: xcode10.1
|
|
compiler: gcc
|
|
addons:
|
|
homebrew:
|
|
packages:
|
|
- gcc@8
|
|
before_install:
|
|
- pip3 install -r requirements.txt
|
|
env:
|
|
- MAKETARGET=test-all
|
|
|
|
script:
|
|
- make ${MAKETARGET}
|
|
|
|
|
|
cache: pip
|
|
|
|
# vim: set ft=yaml ts=2 sw=2 tw=0 et :
|