Commit Graph

23 Commits

Author SHA1 Message Date
Thom Wiggers
b263cd07d7
Speed up circleci tests 2020-03-31 14:03:02 +02:00
Thom Wiggers
b3f9d4f8d6
Classic McEliece (#259)
* Add McEliece reference implementations

* Add Vec implementations of McEliece

* Add sse implementations

* Add AVX2 implementations

* Get rid of stuff not supported by Mac ABI

* restrict to two cores

* Ditch .data files

* Remove .hidden from all .S files

* speed up duplicate consistency tests by batching

* make cpuinfo more robust

* Hope to stabilize macos cpuinfo without ccache

* Revert "Hope to stabilize macos cpuinfo without ccache"

This reverts commit 6129c3cabe1abbc8b956bc87e902a698e32bf322.

* Just hardcode what's available at travis

* Fixed-size types in api.h

* namespace all header files in mceliece

* Ditch operations.h

* Get rid of static inline functions

* fixup! Ditch operations.h
2020-02-05 13:09:56 +01:00
Thom Wiggers
e380ddcf22
Fix clang builds to actually use clang 2020-01-22 10:36:36 +01:00
Thom Wiggers
5f0ddcad78 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
2019-12-12 11:35:19 +01:00
Thom Wiggers
23f761efb5 Run ARM64 tests on REAL HARDWARE 🎉 2019-10-23 08:01:02 +02:00
Thom Wiggers
02917216f1
Make sure the emulated jobs upload their test results properly 2019-10-17 09:37:14 +02:00
Thom Wiggers
deb08ad929
Run KEMs and SIGs as separate CI jobs 2019-08-28 13:50:48 +02:00
Thom Wiggers
9a5caaa95b
Only run slow tests once a week (#222)
They are beginning to block the pipeline for too long.

[ci skip]
2019-08-07 10:03:39 +02:00
Thom Wiggers
56bb81d053
Fix display of test results summary on CircleCI (#219)
* Reduce pytest xml log size
* store artifact to debug
* Fix test result path
2019-08-07 10:03:17 +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
Joost Rijneveld
cfa08ef5f2
Skip AppVeyor and CircleCI tests for SPHINCS 2019-04-29 15:48:44 +02:00
Joost Rijneveld
28358b579d
Merge pull request #152 from PQClean/schedule-circleci
Schedules circleci builds with RUN_SLOW
2019-04-23 09:36:48 +02:00
Thom Wiggers
d1079ad7e7
Schedules circleci builds with RUN_SLOW
Also specifies an order on the PQCLEAN builds to limit fruitless
testing.
2019-04-18 17:31:50 +02:00
Thom Wiggers
2a43c27a5c
Fix xunit-file path 2019-04-18 14:05:01 +02:00
Thom Wiggers
2be9d6b775
Set up storing of test results 2019-04-18 11:26:28 +02:00
Thom Wiggers
c245274e05
Try to set HEAD correctly 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
Joost Rijneveld
3d8faae483
Fix missing && separator in docker command string
It seems to have worked in CircleCI without this, though;
it is unclear to me why.
2019-04-05 12:53:52 +02:00
Thom Wiggers
2ffdc863c9
Also install requirements in native versions 2019-04-05 11:51:19 +02:00
Thom Wiggers
13e84aec00
Clone submodules in CircleCI 2019-04-05 11:47:47 +02:00
Thom Wiggers
8067df4aa9
install pycparser with pip3 2019-04-05 09:28:27 +02:00
Thom Wiggers
1399c7fd1f
Only ignore missing helper programs if not on CI
use randombytes in functest

Got dropped by the rebase

Work around missing clang-tidy on Travis

Also check if valgrind is available
2019-03-07 08:43:13 +01:00
Thom Wiggers
6999e34820
Add circleci
Build on circleci, should be much faster.
2019-02-28 15:58:47 +01:00