Commit Graph

35 Commits

Author SHA1 Message Date
Hamish Coleman
dec1771d5f
added test platform MacOS (#828)
* Just for a laugh, lets naively throw the same build at non linux OS

* Only run apt commands on linux (yes, this is not actually right, but it is close enough for github actions at the moment)

* Start installing required macOS packages

* Only run apt commands on linux #2

* Ensure that we use a Bourne shell, even on Windows

* Until it is clear how to install autotools on windows in github runners, avoid fighting that bear

* Only try to run gcovr on ubuntu-latest

* Install the right macos dep

* Install gcovr on macos and upload all coverage report artifacts

* Upload a generated tests output artifact, even if the tests failed

* Prepend a quick smoke test to the full matrix and coverage builds

* Use short names for jobs
2021-09-29 16:51:02 +05:45
Hamish Coleman
b735ad6b9e
added test framework and code coverage reporting (#797)
* Add a simple test framework

* Add a code coverage report example oneliner

* Move the coverage report into a separate directory

* Add a github action to run tests and publish a branch with the coverage report

* Fix: Missing job separator

* Fix: remember to actually run configure

* Fix: Gotta autogen before I configure

* Dont try to upload coverage report unless this is a push

* Clearly show the git ref tested in the coverage report

* Add a test for the various transforms

* Add tests for the elliptic curve and pearson hash

* Ensure we ignore new generated output

* Remove unneeded boilerplate from the compression tests

* Add an example of a test of the encoded wire packets

* Ensure that correctly testable data is output even when zstd is not compiled

* Factor test runner out into its own script and attempt to add it to the cmake file

* Tell cmake about a new object file

* Stop trying to make Cmake work...

* Stop trying to make cmake work, round 2

* In the middle of a thousand lines of cmake output was one important one - windows could not find assert() - try again

* Try again to plumb the tests into cmake

* Add missing library to our superset install line

* Fix build error when libcap-dev is installed

* Switch to using artifact uploads instead of pages to store/show the coverage report

* Fix artifact upload yaml

* Upload coverage report to codecov

* Fix codecov - clearly it doesnt do a recursive search for coverage files

* Fix codecov - my hopeful use of a list of directories didnt work

* Fix codecov - unfortunately, it doesnt just consume the coverage data and needs us to generate the gcov output

* Fix codecov - nope, it still doesnt recursively search

* Fix codecov - it really helps if I run the gcov data generator

* Add a simple matrix build

* Fix older ubuntu versions of gcovr that do not support the '--html-title' option

* Ensure we use gcover options that are identical on older ubuntu

* Improve coverage generation and required build packages
2021-09-27 15:26:06 +05:45
Hamish Coleman
9caa8902b0
Fix build error when libcap-dev is installed (#798)
* Fix build error when libcap-dev is installed

* Revert 829ba29, allowing LDLIBS based fix to work
2021-09-17 15:20:55 +02:00
Luca Deri
829ba29a2b Fixes regression introduced by 35ec7336a6 that put libraries in wrong order causing edge to fail during linking 2021-09-17 10:14:11 +00:00
Hamish Coleman
35ec7336a6
simplified the makefiles (#795)
* Move the makefiles towards a clearer arrangement

* Break circular make dependancy and start using implicit rules for most compilation

* Fix old cmake to compile again after renames
2021-09-16 18:34:04 +05:45
Hamish Coleman
6b353141b4
addressed warnings (#790) 2021-09-15 22:08:45 +05:45
Luca Deri
85894715bd Added build target for Ubiquity EdgeRouter X 2021-02-16 11:31:23 +00:00
Logan oos Even
599e424b5d
Revert "changed timer source (#522)" (#536)
This reverts commit 0298efa36e.
2020-12-19 12:26:54 +01:00
Logan oos Even
0298efa36e
changed timer source (#522)
* changed timer source

* changed timer source

* changed timer source

* changed timer source

* changed timer source

* changed timer source
2020-12-08 15:46:00 +01:00
Luca Deri
159a088696 Added missing makefile dependency 2020-06-22 00:54:25 +02:00
Luca Deri
3eb82b2a32 Code reorganization 2020-06-21 22:26:27 +02:00
Logan007
43feafa1b6 prepared header encryption 2020-06-17 11:51:05 +05:45
Logan007
67a1cb1792 polished speck 2020-06-17 11:30:48 +05:45
Logan007
7de1ccd68c added XORSHIFT128+ random number generator 2020-06-08 16:08:08 +05:45
Logan007
fad7c191f6 added XORSHIFT128+ random number generator 2020-06-08 16:06:24 +05:45
lucaderi
cd62591ade CentOS6 fixes 2020-06-08 00:01:28 +02:00
Logan oos Even
78e72a2f9e
Merge branch 'dev' into speck 2020-06-06 18:12:11 +05:45
Logan007
9509634ca5 added SSE - Part II 2020-06-03 22:10:49 +05:45
Logan007
0477e476e8 added Speck 2020-05-28 03:17:21 +05:45
emanuele-f
a014f5a68b Windows compilation fix 2020-05-24 11:25:12 +02:00
Logan007
9e5934acc8 added ChaCha20 (cc20) 2020-04-26 15:46:41 +02:00
Luca Deri
97c8948113 MacOS fixes 2020-04-24 00:36:32 +02:00
Luca Deri
a13247f6c0
Merge pull request #209 from pojntfx/dev
Enable embedding the supernode, add more embedding examples (clean)
2020-04-23 23:51:02 +02:00
Logan oos Even
e60c10ebb1
Enable compiler optimizations (#218) 2020-03-28 18:22:55 +00:00
Felix Pojtinger
2058ab93c8 Add more embedding examples and initally decomposed sn_utils 2020-03-16 15:03:03 +01:00
emanuele-f
60a4ba90ce Add tools subdirectory 2019-09-21 16:13:52 +02:00
emanuele-f
b3995e7fbc Implemnent n2n-decode utility to decode and dump traffic to PCAP 2019-09-20 02:13:07 +02:00
emanuele-f
4d36f9f613 Package fixes 2019-07-06 14:40:16 +02:00
emanuele-f
cb43d0cf64 Unify n2n version 2019-07-06 13:52:17 +02:00
emanuele-f
4ca0ae34a4 Remove keyfile leftover 2019-06-17 09:54:53 +02:00
emanuele-f
c89ece71ca Code rework changes
- Remove keyschedule leftover and adapt to new API
- Fix cleanup functions
- Remove unused random_device_mac
2019-04-27 15:55:07 +02:00
emanuele-f
d689691599 n2n.h cleanup 2019-04-14 18:08:51 +02:00
emanuele-f
200cfd24a3 Fix benchmark AES lib 2019-01-28 01:44:47 +01:00
Simone Mainardi
8308098ef3 Fixes for OS X build with Macports 2018-10-09 17:28:09 +02:00
Luca Deri
a80fa1dd27 Added configure and autogen.sh 2018-10-07 11:37:19 +02:00