Commit Graph

11 Commits

Author SHA1 Message Date
surtur 7551c1e9b2
ci: pull dep images in separate steps
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-22 17:49:56 +01:00
surtur 3702bf1524
ci: update submodules using alpine/git image
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-22 17:41:26 +01:00
surtur 02de37baa2
ci: rm 'build on alpine' step
building on alpine when using libc++ would probably be too much of a
hassle right now.
2022-01-10 05:02:44 +01:00
surtur f250543231
ci: use 'make san', rm valgrind steps
* sanitize instead of memcheck with valgrind
* rename debug and release steps to follow similar pattern as 'make san'
2022-01-03 04:22:30 +01:00
surtur bd421295c4
feat: use fmt instead of iostreams
switch to fmt - "A modern formatting library" - for fun and profit,
currently in header-only configuration.

ref: https://github.com/fmtlib/fmt

closes #5
closes #4
2021-11-18 22:05:05 +01:00
surtur f16c630ae7
generator: implement do_sha()
* link against cryptopp
* use both sha2 and sha3 generation functions
* try calling do_sha() directly
* call reseed() that in turn calls do_sha()
* return a bogus number, not the proper digest for now (see TODOs)

cryptopp needed to be installed to archlinux for the valgrind step to
pass successfully
2021-11-11 04:11:40 +01:00
surtur 46a6cdba3a
cmake: add {-g3,-gsplit-dwarf} flags for debugging
cmake:
* check if we're being run for valgrind, in which case do not split
  dwarf information, valgrinds does not like it (see #1).

makefile:
* build for vagrant into a separate folder entirely.

ci:
* install gcc, cmake and ninja along with vagrant, since now we are
  building inside of the ci container as well.

close #1
2021-11-02 04:40:07 +01:00
surtur 5f8f8ca67e
ci: use makefile targets
* re-use what has already been defined and tested locally
* verify that the makefile is functional in one fell swoop
2021-11-02 04:16:44 +01:00
surtur 519919326e
cppcheck: specify necessary parameters
* that is, both in ci, pre-commit config and in the makefile
* makefile and ci args are a little more strict than the pre-commit ones
* use globs of the file extensions we're after
* add verbosity
2021-10-30 20:05:28 +02:00
surtur 86c37f53d9
ci: add {cppcheck,valgrind} steps 2021-10-24 21:35:57 +02:00
surtur f4c5ff95dc
ci: add .drone.starlark 2021-10-24 21:34:16 +02:00