Commit Graph

68 Commits

Author SHA1 Message Date
Thom Wiggers
a804c623de Force running brew update
This will add ~5m to the build time, but Travis CI SUCK at keeping their tools up to date...
2021-03-24 21:02:46 +00:00
Thom Wiggers
1b69c78763 Update Travis CI to XCode 11.3 2021-03-24 21:02:46 +00:00
Thom Wiggers
e4e6ef930e Add ccache to speed up builds (#257)
* Add ccache to speed up builds

* Fix circleci config

* fixup! Fix circleci config

* Try again with environment variables

* Set up ccache on MacOS
2021-03-24 21:02:45 +00:00
Thom Wiggers
81a7e48d37 Run ARM64 tests on REAL HARDWARE 🎉 2021-03-24 21:02:44 +00:00
Matthias J. Kannwischer
071e541af7 Switch to gcc9.2 and xcode11.2 for MacOS builds (#246) 2021-03-24 21:02:44 +00:00
Thom Wiggers
deb08ad929
Run KEMs and SIGs as separate CI jobs 2019-08-28 13:50:48 +02:00
Thom Wiggers
78a65d6ec9 Parallel tests (#206)
* Do tests with pytest to run them in parallel

* attempt to handle merge commits better for PR test path

Similar to how we solved this for travis

* Clean up imports

* don't run valgrind if not specified slow_test

* Fix functest after initializer rename

* upload tests results as junit

* Upload test-common files since #200 got merged

* Catch test results upload failure
2019-07-29 10:38:25 +02:00
Thom Wiggers
0d78cf8ea6
try to more reliably run the Travis PR path 2019-07-08 13:33:52 +02:00
Thom Wiggers
82563c9b64
Cache homebrew 2019-06-20 11:15:15 +02:00
Thom Wiggers
3ca9cfe5cd
Update OSX image 2019-06-20 10:35:43 +02:00
Thom Wiggers
909808d6f0
Skip SPHINCS+ on Travis CI
We're running out of build limits.
2019-06-12 09:20:57 +02:00
Joost Rijneveld
90a35757df
Increase travis_wait to 60, e.g. for SPHINCS 2019-04-23 13:53:32 +02:00
Thom Wiggers
1a6f441f36
add comment about travis-wait 2019-04-23 10:40:14 +02:00
Thom Wiggers
552d9f0215
Specify travis_wait 2019-04-23 09:44:42 +02:00
Thom Wiggers
c245274e05
Try to set HEAD correctly 2019-04-18 11:26:28 +02:00
Thom Wiggers
49b1214f24
Fetch origin/master properly 2019-04-18 11:26:28 +02:00
Thom Wiggers
a7a8c02c27
master may not be available 2019-04-18 11:26:28 +02:00
Thom Wiggers
33605f05d8
Set PQCLEAN_ONLY_DIFF on CI builds 2019-04-18 11:26:27 +02:00
Thom Wiggers
eb08730d27
Use brew link to install gcc in a more predictable place 2019-04-05 13:38:02 +02:00
Thom Wiggers
dac0d96904
We don't use cpp anymore 2019-04-05 10:40:16 +02:00
Thom Wiggers
9a6787c872
Properly set up GCC on OS X 2019-04-05 10:30:55 +02:00
Thom Wiggers
00f72102ab
Install astyle on OSX 2019-02-28 17:06:45 +01:00
Thom Wiggers
97b298a04e
Only build OS X on travis 2019-02-28 16:01:06 +01:00
Thom Wiggers
79a1da56b4
Remove duplicate language line 2019-02-28 15:05:55 +01:00
Thom Wiggers
32445f815d
The 'language: minimal' should have docker 2019-02-28 13:42:04 +01:00
Thom Wiggers
d06d8b34c1
Fix typo in container, fix mac builds 2019-02-28 13:42:04 +01:00
Thom Wiggers
c0e4cac831
Greatly simplify container builds 2019-02-28 13:42:04 +01:00
eb4d7cb69a Enable address and UB sanitizers
This enables address sanitizer and undefined behaviour sanitizer,
but disables leak detection sanitizer.
It seema there is an issue in qemu that we are using, which prevents
spawning leaksanitizer's tracer thread. But as leak detection is
already done by valgrind on x86 build, this functionality is not
absolute need at the moment.
2019-02-19 10:39:44 +00:00
Douglas Stebila
fde02ce2b1 Migrate test vector checks to pythonic testing framework 2019-02-18 10:07:01 -05:00
Thom Wiggers
6c715bc823
Add nose to container tests 2019-02-18 13:09:38 +01:00
Thom Wiggers
78e349f3ba
Fix the test command
I should be less cocky about pushing these things to master and instead to a PR
2019-02-18 12:53:28 +01:00
Thom Wiggers
4f5888c7da
Fix .travis.yml to include rednose on debian builds 2019-02-18 10:22:10 +01:00
Thom Wiggers
f43200f34d
Colourise test output 2019-02-18 10:10:20 +01:00
Douglas Stebila
d36626caac Move metadata check to Python testing framework 2019-02-16 10:07:59 -05:00
12d9e038b0 arm: temporarily disable sanitizers 2019-02-15 09:35:38 +00:00
Thom Wiggers
2d09abcdf9
Remove deleted check from ARM builds 2019-02-15 09:59:21 +01:00
Thom Wiggers
bb38e64258
Merge pull request #30 from PQClean/ds-test-namespace
Implement symbol namespace check using new Python testing framework
2019-02-15 09:57:24 +01:00
Thom Wiggers
608aedce56
Merge pull request #26 from henrydcase/ci_arm
adds tests on arm7 and arm8
2019-02-15 09:47:21 +01:00
e3f23082b8 adds tests on arm 32/64 2019-02-14 22:36:39 +00:00
Douglas Stebila
0943ae4c6e Remove old make target for symbol namespace check. 2019-02-14 11:53:54 -05:00
Douglas Stebila
ba359473b9 Remove old license check and reduce re-building 2019-02-14 11:36:24 -05:00
Peter Schwabe
9b29d34bf9 Merge branch 'reformat-kyber'
Fixed (hopefully) both formatting and astyle config to not break
formatting again
2019-02-14 15:32:12 +01:00
Thom Wiggers
3b73ea134d
Formatted everything with astyle
clang-format was not flexible enough to allow lining out things on
columns with spaces.
2019-02-14 14:08:16 +01:00
Douglas Stebila
72d514a6fe Call nose differently and add test documentation 2019-02-13 22:31:37 -05:00
Douglas Stebila
012b96c519 Typo 2019-02-13 22:27:24 -05:00
Douglas Stebila
f64a7e0dd4 Reimplement Python tests using nose framework 2019-02-13 22:25:34 -05:00
Thom Wiggers
1f9da4b711
Run 32-bit tests 2019-02-11 15:15:48 +01:00
Thom Wiggers
29765b0adc
Postpone Clang on PPC
There is an issue with libclang-common-dev [0]

[0]: should be on https://lists.debian.org/debian-powerpc/2019/02/
2019-02-11 14:08:53 +01:00
Thom Wiggers
39b51965e8
Switch to new PPC repository and run Clang on PPC 2019-02-11 13:07:43 +01:00
Joost Rijneveld
a9e7e904d3
Run tests on userspace-emulated PowerPC
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>
2019-02-05 11:06:42 +01:00