2019-02-15 20:57:02 +00:00
|
|
|
pinned_go: &pinned_go go=1.11.5-1
|
2018-07-24 19:55:18 +00:00
|
|
|
build_dir: &build_dir /cfsetup_build/src/github.com/cloudflare/cloudflared/
|
2018-10-19 19:01:08 +00:00
|
|
|
stretch: &stretch
|
2018-07-24 19:55:18 +00:00
|
|
|
build:
|
|
|
|
build_dir: *build_dir
|
|
|
|
builddeps:
|
|
|
|
- *pinned_go
|
|
|
|
- build-essential
|
|
|
|
post-cache:
|
|
|
|
- export GOPATH=/cfsetup_build/
|
|
|
|
- export GOOS=linux
|
|
|
|
- export GOARCH=amd64
|
2018-07-25 21:05:46 +00:00
|
|
|
- make cloudflared
|
|
|
|
build-deb:
|
|
|
|
build_dir: *build_dir
|
|
|
|
builddeps:
|
|
|
|
- *pinned_go
|
|
|
|
- build-essential
|
|
|
|
- fakeroot
|
|
|
|
- rubygem-fpm
|
|
|
|
post-cache:
|
|
|
|
- export GOPATH=/cfsetup_build/
|
|
|
|
- export GOOS=linux
|
|
|
|
- export GOARCH=amd64
|
|
|
|
- make cloudflared-deb
|
2018-07-26 20:45:18 +00:00
|
|
|
release-linux-amd64:
|
|
|
|
build_dir: *build_dir
|
|
|
|
builddeps:
|
|
|
|
- *pinned_go
|
|
|
|
- build-essential
|
|
|
|
post-cache:
|
|
|
|
- export GOPATH=/cfsetup_build/
|
|
|
|
- export GOOS=linux
|
|
|
|
- export GOARCH=amd64
|
|
|
|
- make release
|
|
|
|
release-linux-armv6:
|
|
|
|
build_dir: *build_dir
|
|
|
|
builddeps:
|
|
|
|
- *pinned_go
|
|
|
|
- crossbuild-essential-armhf
|
|
|
|
- gcc-arm-linux-gnueabihf
|
|
|
|
post-cache:
|
|
|
|
- export GOPATH=/cfsetup_build/
|
|
|
|
- export GOOS=linux
|
|
|
|
- export GOARCH=arm
|
|
|
|
- export CC=arm-linux-gnueabihf-gcc
|
|
|
|
- make release
|
|
|
|
release-linux-386:
|
|
|
|
build_dir: *build_dir
|
|
|
|
builddeps:
|
|
|
|
- *pinned_go
|
|
|
|
- gcc-multilib
|
|
|
|
post-cache:
|
|
|
|
- export GOPATH=/cfsetup_build/
|
|
|
|
- export GOOS=linux
|
|
|
|
- export GOARCH=386
|
|
|
|
- make release
|
|
|
|
release-windows-amd64:
|
|
|
|
build_dir: *build_dir
|
|
|
|
builddeps:
|
|
|
|
- *pinned_go
|
|
|
|
- gcc-mingw-w64
|
|
|
|
post-cache:
|
|
|
|
- export GOPATH=/cfsetup_build/
|
|
|
|
- export GOOS=windows
|
|
|
|
- export GOARCH=amd64
|
|
|
|
- export CC=x86_64-w64-mingw32-gcc
|
|
|
|
- make release
|
|
|
|
release-windows-386:
|
|
|
|
build_dir: *build_dir
|
|
|
|
builddeps:
|
|
|
|
- *pinned_go
|
|
|
|
- gcc-mingw-w64
|
|
|
|
post-cache:
|
|
|
|
- export GOPATH=/cfsetup_build/
|
|
|
|
- export GOOS=windows
|
|
|
|
- export GOARCH=386
|
|
|
|
- export CC=i686-w64-mingw32-gcc-win32
|
|
|
|
- make release
|
2018-07-25 21:05:46 +00:00
|
|
|
test:
|
|
|
|
build_dir: *build_dir
|
|
|
|
builddeps:
|
|
|
|
- *pinned_go
|
|
|
|
- build-essential
|
|
|
|
post-cache:
|
|
|
|
- export GOPATH=/cfsetup_build/
|
|
|
|
- export GOOS=linux
|
|
|
|
- export GOARCH=amd64
|
|
|
|
- make test
|
2018-10-19 19:01:08 +00:00
|
|
|
|
2019-02-15 20:57:02 +00:00
|
|
|
jessie: *stretch
|