Commit Graph

53 Commits

Author SHA1 Message Date
Jason Rhinelander eea0929077
Move resolvconf from deb branches to contrib/ (#1439)
* Move resolvconf from deb branches to contrib/

This script gets invoked by the systemd service after startup to update
resolvconf with the lokinet dns server.

It was previously living in debian/lokinet-resolvconf in the
debian/ubuntu branches, but really belongs in contrib/ instead.

* Disable LTO on sid gcc/clang-11
2020-10-31 05:21:55 -04:00
Jeff 569bfe14b4
dont do native builds in static linux ci (#1434) 2020-10-30 05:30:23 -04:00
Jason Rhinelander 4f3775c28c
Crank clang version to 11 (#1422) 2020-10-23 18:17:48 -04:00
Jeff a01a622fce
make drone ci use debian testing (#1413) 2020-10-21 17:31:42 -04:00
Jason Rhinelander 4ac733c7e2 Shallow clone submodules 2020-10-02 18:36:52 -03:00
Jason Rhinelander bbfbc1c1e7
Drone CI job shuffling (#1359)
- Disable bionic arm64 job to reduce the load on the ARM box a bit.
- Add bionic amd64 build so that we have a (normal) build on bionic.
- Remove sid/g++-10 job because g++ is now the default on sid (so the
  debian/sid build is already doing the same thing).
2020-09-22 16:10:38 -04:00
jeff def8a9ce46 disable running router hive just build it 2020-08-28 13:59:29 +00:00
jeff d973ce9089
upgrade alpine container 2020-08-24 20:21:18 -04:00
Stephen Shelton 8628212269
<3 jsonnet 2020-07-02 10:22:04 -06:00
Stephen Shelton 98171aad36
Add libsqlite3-dev to drone 2020-07-02 10:12:13 -06:00
Jason Rhinelander 3dff5931a2
Use imaginary repo for sodium on bionic/arm64
Building both sodium + libzmq is kind of a pain, so just use the
backport libsodium from the loki repo on deb.imaginary.stream.
2020-07-02 11:13:31 -04:00
Jeff Becker eb0f29223a
add docs to gdb-filter.py
turn off thread logging in gdb
make sure everything runs in gdb when running test
add note in contrib/format.sh about a GNU-ism
2020-07-02 11:13:30 -04:00
Jeff Becker b6a7b5ccfb
only run catch2 tests in gdb and add assert to unit test 2020-07-02 11:12:05 -04:00
Jeff Becker 52bc2facc2
add gdb to ci runners on debian to catch backtraces if they happen 2020-07-02 11:10:06 -04:00
Jeff Becker 5c039233db
remove the dreaded makefile and update docs 2020-07-02 11:10:06 -04:00
Jason Rhinelander e2ad0e8f09 DRY out ci upload script 2020-06-22 11:30:38 -03:00
Jeff Becker d096f5375f
pass in WINDOWS_BUILD_NAME to uploader to mark 64bit and 32bit builds distinctly 2020-06-18 07:30:07 -04:00
Jeff Becker ad0b66ae02
use correct arch, probably 2020-06-18 07:25:14 -04:00
Jeff Becker 8f3f964ee6
change to i686 2020-06-18 07:24:27 -04:00
Jeff Becker 3b59288a42
fix typo 2020-06-18 07:23:59 -04:00
Jeff Becker 3860352a9a
set arch to be 32bit for 32bit windows builds so build artifacts are marked as such 2020-06-18 07:22:55 -04:00
Jeff Becker 1b10e69b10
update ci to use zip for windows 2020-06-17 11:45:36 -04:00
Jeff 4026051d36
add xz in drone ci because alpine sucks 2020-06-17 11:34:39 -04:00
Jeff Becker 52b5da33a3
fix dep 2020-06-17 11:20:19 -04:00
Jeff Becker 0dad53100a
add bash and sftp so exe uploads werk 2020-06-17 11:13:57 -04:00
Jeff Becker fdfdd2a1d2
turn off lto, add patches 2020-06-17 10:37:41 -04:00
Jeff Becker 48c7d6fbe5
consolidate windows ci drone jizz 2020-06-17 09:42:11 -04:00
Thomas Winget 9905a2bd4b static build flag for win/mac static builds in drone config 2020-06-16 20:53:36 -04:00
Thomas Winget 0ecdf60777 static build fixes in cmake stuff
I hate cmake so much.
2020-06-16 18:52:20 -04:00
Thomas Winget 755b4d89b6 libunbound deps in drone config 3: dependency boogaloo 2020-06-15 18:32:57 -04:00
Thomas Winget 4ee95d4ad0 libunbound deps in drone config...watch *them* have deps too 2020-06-15 18:32:57 -04:00
Thomas Winget f58c7df54d add libunbound-dev dep to drone config 2020-06-15 18:32:57 -04:00
Rick V b2fcf6c896 sodium requires stack protection on windows (-D_FORTIFY_SOURCE works
now!)
2020-06-12 18:17:07 -05:00
Rick V 2efc884acf 64-bit LTO cursed for ages 2020-06-12 17:50:25 -05:00
Rick V 052bc25c4f
install make 2020-06-12 16:51:41 -05:00
Rick V 1f5df55443
don't use builtin patch 2020-06-12 16:41:30 -05:00
Rick V 8ac5213b42
windows builds on alpine lunix 2020-06-12 15:55:24 -05:00
Jeff f8bec34f80
Merge pull request #1309 from jagerman/drone-submodules-step
Add tags/submodules as separate step
2020-06-12 14:33:03 -04:00
Jason Rhinelander f4b4e4799f Add tags/submodules as separate step
Drone's initial clone doesn't include tags or submodules; add a step to
fetch both (rather than doing this in the build step).
2020-06-12 14:20:02 -03:00
Jason Rhinelander b3f38883b8 Fix static distro drone typo
Static build runs on bionic, not focal.
2020-06-12 02:17:37 -03:00
Jeff Becker 6984cda3a6
add pybind and router hive to ci 2020-06-08 15:50:12 -04:00
Jason Rhinelander 8851766c5d macos static build & upload 2020-05-23 14:21:05 -03:00
Jason Rhinelander cf447dc3a4 Build (and upload) debs by merging into the deb branches
Similar to the static files, the debs also end up under
builds.lokinet.dev/deb.
2020-05-23 11:33:50 -03:00
Jason Rhinelander f54beadaa9 Add tar+upload to builds.lokinet.dev of static build
Relies on an SSH_KEY secret being set in the repository.

Also move the linked library check to a bash script because escaping a
value in jsonnet (escape once) that gets passed through yaml (escape
twice) and then bash (escape again) is too painful.
2020-05-23 00:36:30 -03:00
Jason Rhinelander 861f83c9cc drone tweaks
- add some comments
- exclude commits to the debian/ubuntu branches from getting built
- disable "Updating man-db" which chews up several seconds during
package install
2020-05-23 00:32:00 -03:00
Jason Rhinelander 9e1e11825e Fix the static build linked libs output check
- The `grep` had a typo of `-e` instead of `-E` which made it not work

- Made the command actually fail the pipeline if unwanted linked libs
were found.

- Print in green if everything is okay.

- Add librt.so to the whitelist
2020-05-21 11:47:05 -03:00
Jason Rhinelander 7d5a99d820
Merge pull request #1284 from majestrate/toggle-lto-2020-05-20
add WITH_LTO option to disble lto on compile time
2020-05-20 20:45:36 -03:00
Jason Rhinelander e4e6fc205e Disable lto for most linux builds
Keeps it on for the first three (sid/release, sid/debug, and clang) and
turns them off for the rest.
2020-05-20 20:35:25 -03:00
Jason Rhinelander ab02519a40 Add missing quote to static build linked libs test 2020-05-20 19:48:29 -03:00
Jason Rhinelander 1d11456d26 Move specify CLICOLOR_FORCE=1 to the drone backend 2020-05-20 19:18:28 -03:00