Commit Graph

63 Commits (f2f0486f1394b2cf77faea310b2e0a3d695d2400)

Author SHA1 Message Date
Jason Rhinelander 231674e5a5 Remove CMAKE_CROSSCOMPILE
We set CMAKE_CROSSCOMPILE in a few places, but that is just a typo for
CMAKE_CROSSCOMPILING.  However we don't need to set it at all: cmake
does so automatically whenever CMAKE_SYSTEM_NAME is set (which is why
our cross compiling actually works currently.)
3 years ago
Jason Rhinelander 60a267a136 Add automake+libtool for libuv static build 3 years ago
Jason Rhinelander b3d2177e73
Fix build server name & path (#1516)
builds.lokinet.dev -> oxen.rocks
/loki-project/ -> /oxen-io/
3 years ago
Jeff Becker f8c0195cfc
add ulimit -n 1024 to mac ci stuff because lol apple 3 years ago
Jason Rhinelander 7ad1030736
Add full-static-deps armhf build (+upload) (#1505)
* Add armhf static build + upload

* openssl build fix for static armhf build

Without this it tries building for arm64.

* Disable LTO for armhf static build

* Fix static lib check for arm
3 years ago
Jason Rhinelander 8e550091ab
Disable LTO on sid for now (#1472) 4 years ago
Jason Rhinelander aa4c4e7453 Install less stuff on windows CI
mingw-w64 is a metapackage that pulls in 4 different compilers
{i686,x86_64}×{-posix,-win32} but we only need x86_64-posix, so just
install that package.
4 years ago
Jason Rhinelander 4eb275324d
Fix deb snapshot builds + misc other CI updates (#1462)
* Remove unneeded libcurl-dev build dep

* Make apt-get operations quieter

* apt repo updates

- store the apt repo gpg pubkey in the repo rather than having to fetch
it every time
- add the apt repo for all the deb builds
- update apt repo URL to deb.loki.network instead of
deb.imaginary.stream

* Use http so that we don't need ca-certificates

The repo packages are already signed so using https really isn't
important.

* Add hack to ignore jsonnet conflicts in deb builds

* Add build machine name to build output

* We don't install any shared libs currently
4 years ago
Jeff 6bca6b3582 Merge remote-tracking branch 'origin/stable' into dev 4 years ago
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
4 years ago
Jeff 569bfe14b4
dont do native builds in static linux ci (#1434) 4 years ago
Jason Rhinelander 4f3775c28c
Crank clang version to 11 (#1422) 4 years ago
Jeff a01a622fce
make drone ci use debian testing (#1413) 4 years ago
Jason Rhinelander d507e44350
Don't use -march=native for static linux build (#1390) 4 years ago
Jason Rhinelander 4ac733c7e2 Shallow clone submodules 4 years ago
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).
4 years ago
jeff def8a9ce46 disable running router hive just build it 4 years ago
jeff d973ce9089
upgrade alpine container 4 years ago
Stephen Shelton 8628212269
<3 jsonnet 4 years ago
Stephen Shelton 98171aad36
Add libsqlite3-dev to drone 4 years ago
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.
4 years ago
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
4 years ago
Jeff Becker b6a7b5ccfb
only run catch2 tests in gdb and add assert to unit test 4 years ago
Jeff Becker 52bc2facc2
add gdb to ci runners on debian to catch backtraces if they happen 4 years ago
Jeff Becker 5c039233db
remove the dreaded makefile and update docs 4 years ago
Jason Rhinelander e2ad0e8f09 DRY out ci upload script 4 years ago
Jeff Becker d096f5375f
pass in WINDOWS_BUILD_NAME to uploader to mark 64bit and 32bit builds distinctly 4 years ago
Jeff Becker ad0b66ae02
use correct arch, probably 4 years ago
Jeff Becker 8f3f964ee6
change to i686 4 years ago
Jeff Becker 3b59288a42
fix typo 4 years ago
Jeff Becker 3860352a9a
set arch to be 32bit for 32bit windows builds so build artifacts are marked as such 4 years ago
Jeff Becker 1b10e69b10
update ci to use zip for windows 4 years ago
Jeff 4026051d36
add xz in drone ci because alpine sucks 4 years ago
Jeff Becker 52b5da33a3
fix dep 4 years ago
Jeff Becker 0dad53100a
add bash and sftp so exe uploads werk 4 years ago
Jeff Becker fdfdd2a1d2
turn off lto, add patches 4 years ago
Jeff Becker 48c7d6fbe5
consolidate windows ci drone jizz 4 years ago
Thomas Winget 9905a2bd4b static build flag for win/mac static builds in drone config 4 years ago
Thomas Winget 0ecdf60777 static build fixes in cmake stuff
I hate cmake so much.
4 years ago
Thomas Winget 755b4d89b6 libunbound deps in drone config 3: dependency boogaloo 4 years ago
Thomas Winget 4ee95d4ad0 libunbound deps in drone config...watch *them* have deps too 4 years ago
Thomas Winget f58c7df54d add libunbound-dev dep to drone config 4 years ago
Rick V b2fcf6c896 sodium requires stack protection on windows (-D_FORTIFY_SOURCE works
now!)
4 years ago
Rick V 2efc884acf 64-bit LTO cursed for ages 4 years ago
Rick V 052bc25c4f
install make 4 years ago
Rick V 1f5df55443
don't use builtin patch 4 years ago
Rick V 8ac5213b42
windows builds on alpine lunix 4 years ago
Jeff f8bec34f80
Merge pull request #1309 from jagerman/drone-submodules-step
Add tags/submodules as separate step
4 years ago
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).
4 years ago
Jason Rhinelander b3f38883b8 Fix static distro drone typo
Static build runs on bionic, not focal.
4 years ago