Commit Graph

89 Commits

Author SHA1 Message Date
Frank Denis b9d9f72e29 Travis... 2020-03-24 18:56:55 +01:00
Frank Denis 9c15e90610 Update the Android NDK to r20 2020-03-24 18:00:58 +01:00
Frank Denis 5d81e5a6db Build Linux binaries for armv7 while we're here 2020-03-24 16:43:48 +01:00
Frank Denis 77507abb62 Fix Travis build for freebsd/arm 2020-03-24 16:00:25 +01:00
Frank Denis 366413fa2d Travis: put commands on single lines
Just to make them easier to execute manually while Travis is b0rk3d
2020-03-24 15:37:23 +01:00
Frank Denis d905021856 Revert "Go back to Go 1.13"
This reverts commit d91df1a62c.

The issue on Mips was unrelated (due to an antique kernel), and
compiling for armv5 seem to work around issues reported on arm
2020-03-24 14:55:01 +01:00
Frank Denis 61d6cfa992 Use GOMIPS64=softfloat 2020-03-24 14:54:58 +01:00
Frank Denis d91df1a62c Go back to Go 1.13
We got too many reports of binaries built with Go 1.41.1 not working
any more on arm and mips CPUs.

So, downgrade until these issues are sorted out.
2020-03-24 14:39:06 +01:00
Frank Denis a3376db1b6 Create binaries for ARMv5 and ARMv6 2020-03-22 12:25:22 +01:00
Frank Denis 79c8fa30d0 Compile ARM binaries for ARMv5
Not sure what's going on here.

GOARM=6 is supposed to be the default when cross-compiling, but
some people reported that executables had illegal instructions without
GOARM=6.

After executables available for download were updated with GOARM=6,
people kept reporting "it doesn't load", even though we presumably
never shipped binaries for ARMv5.

Anyway, try that as a last move.
2020-03-22 12:15:28 +01:00
Frank Denis 6a608565bf arm builds: explicitly build for armv6
The Go documentation says that this is the default, but apparently not.

Fixes #1240
2020-03-21 18:12:47 +01:00
Frank Denis b644ec981c Update Travis config 2020-03-21 16:49:52 +01:00
Frank Denis 515968e414 Run the CI test in the before_install phase
This is unorthodox, but Travis will stop right after most errors
instead of spending forever installing the Android NDK
2019-12-17 18:38:40 +01:00
Frank Denis 56bd9dcd04 Add some temporary basic CI tests 2019-12-17 18:29:33 +01:00
Frank Denis 45d506efa1 Add the full path to minisign 2019-12-10 00:33:59 +01:00
Frank Denis 6d1e4a9b5d Travis: create /tmp/bin 2019-12-10 00:18:36 +01:00
Frank Denis c4673d86f5 Define _GNU_SOURCE 2019-12-09 23:45:41 +01:00
Frank Denis c68c672b47 libsodium -> libsodium-dev and move to before_deploy 2019-12-09 23:20:22 +01:00
Frank Denis 63e8494b44 Travis: use Ubuntu Bionic so we don't have to compile libsodium 2019-12-03 13:31:44 +01:00
Frank Denis 3b2eeea544 Include localhost.pem 2019-11-29 01:13:11 +01:00
Frank Denis a73b547aa2 Update repos name in Travis 2019-10-12 22:13:16 +02:00
Frank Denis f088dd4b2c Use vendored packages in CI builds 2019-10-12 22:09:59 +02:00
Frank Denis deaad9ce2b Add Solaris packages
Fixes #923
2019-09-07 15:02:09 +02:00
Frank Denis b543ccabdb dpeth -> depth 2019-08-09 14:33:03 +02:00
Peter Dave Hello bf32a9b8c5 [CI] Leverage `after_success` phase in .travis.yml
There were two `ls -l dnscrypt-proxy-*.tar.gz dnscrypt-proxy-*.zip`
commands in `.travis.yml`, one in the `script`(build) phase, one in the
`after_deploy` phase, they were actually duplicated.

As deployment job won't create any new files, and the command isn't part
of the steps to build artifacts, but to confirm/list the built files,
this action looks more suitable to be placed in the `after_success`, to
be separated with the build commands, and the duplicated one in the
`after_deploy` phase could be removed.
2019-08-07 18:01:11 +02:00
Peter Dave Hello 39821afd11 [CI] Adjust blank lines in .travis.yml to improve readability 2019-08-07 18:01:11 +02:00
Peter Dave Hello 6ee4a3738c [CI] Remove deprecated `sudo` option in .travis.yml
Ref:
- https://blog.travis-ci.com/2018-10-04-combining-linux-infrastructures
2019-08-07 18:01:11 +02:00
Peter Dave Hello 760c0c10de [CI] Use git shallow clone to speed up 2019-08-07 18:01:11 +02:00
Frank Denis 587a09b306 Add freebsd/armv7 target
Fixes #792
Fixes #682
2019-04-15 08:48:08 +02:00
Frank Denis 0a65a658b6 Back to stable Go 2019-02-26 08:51:25 +01:00
Frank Denis 0c3e47ff89 Switch to Go-master 2018-11-15 12:48:41 +01:00
Frank Denis 7accd726a1 Unbreak deployment 2018-11-03 23:47:27 +01:00
Harald Nordgren d4c06c8c14 Bump Go versions and use 1.n.x to get latest minor versions (#626) 2018-10-28 12:49:37 +01:00
Sergey Fionov 4192e2fff7 Use Android NDK r18, use API 19 for 32-bit Android builds (#610)
Older Androids had some functions like `sigfillset` implemented as macros,
and `android-19` is the last backward-compatible and forward-compatible version
of unified headers.
2018-10-10 20:06:50 +02:00
Frank Denis b6847fab99 Go 1.11.1 2018-10-02 17:04:52 +02:00
Frank Denis c53b28d1f1 Remove CGO_CFLAGS="-D__ANDROID_API__=19" 2018-08-25 16:12:53 +02:00
Frank Denis 60dfbe47a9 Go 1.11 2018-08-25 16:00:59 +02:00
Frank Denis 4344d335d1 Android: Use NDK r18-beta2 and -D__ANDROID_API__=19 2018-08-25 15:45:01 +02:00
Frank Denis e8a7250bf6 Try the current stable Android NDK 2018-08-24 18:04:22 +02:00
Frank Denis 44729df987 Use Go 1.10.3 2018-06-08 16:02:53 +02:00
chenhw2 35a036c16c Ensure static linked binary (for linux) (#459) 2018-05-21 22:45:42 +01:00
Frank Denis 3104dcbd70 Go 1.10.2 2018-05-02 13:25:59 +02:00
Frank Denis 8a78a69a7c Fix Travis 2018-04-29 20:59:14 +02:00
Frank Denis 067e10df9c Fix Travis path 2018-04-27 01:14:14 +02:00
Frank Denis a3b3c91846 Update Travis 2018-04-27 00:34:08 +02:00
Frank Denis ba381ef0a7 Add signatures to distributed files
Fixes #388
Fixes #390
2018-04-18 21:45:32 +02:00
Frank Denis c33ebd229b Avoid empty examples files
Fixes #348

Keep the ciphers list commented out by default to be safe
2018-04-11 14:03:25 +02:00
Frank Denis 17792d0efc Use the default cipher suite in the example config file on x86_64 2018-04-10 12:09:52 +02:00
Frank Denis 172159c00a Use Go 1.10.1 2018-04-08 08:48:48 +02:00
Frank Denis 9643a311c8 Just build freebsd-arm to be consistent with other builds 2018-03-25 11:29:49 +02:00