cloudflare/cloudflared

Public

mirrored from https://github.com/cloudflare/cloudflaredAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
2019.11.0

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

cfsetup.yaml

87lines · modeblame

3c0ea0dbNick Vollmar6 years ago1pinned_go: &pinned_go go=1.12.7-1
e5335b6cNick Vollmar6 years ago2build_dir: &build_dir /cfsetup_build
13d25a52Nick Vollmar7 years ago3default-flavor: stretch
72412db4Austin Cherry7 years ago4stretch: &stretch
cefcb79bChung-Ting Huang7 years ago5build:
6build_dir: *build_dir
7builddeps:
8- *pinned_go
9- build-essential
10post-cache:
11- export GOOS=linux
12- export GOARCH=amd64
0c414cebChung-Ting Huang7 years ago13- make cloudflared
14build-deb:
15build_dir: *build_dir
16builddeps:
17- *pinned_go
18- build-essential
19- fakeroot
20- rubygem-fpm
21post-cache:
22- export GOOS=linux
23- export GOARCH=amd64
24- make cloudflared-deb
8f7cef33Chung-Ting Huang7 years ago25release-linux-amd64:
26build_dir: *build_dir
27builddeps:
28- *pinned_go
29- build-essential
30post-cache:
31- export GOOS=linux
32- export GOARCH=amd64
33- make release
34release-linux-armv6:
35build_dir: *build_dir
36builddeps:
37- *pinned_go
38- crossbuild-essential-armhf
39- gcc-arm-linux-gnueabihf
40post-cache:
41- export GOOS=linux
42- export GOARCH=arm
43- export CC=arm-linux-gnueabihf-gcc
44- make release
45release-linux-386:
13d25a52Nick Vollmar7 years ago46build_dir: *build_dir
47builddeps:
48- *pinned_go
49- gcc-multilib
50post-cache:
51- export GOOS=linux
52- export GOARCH=386
53- make release
8f7cef33Chung-Ting Huang7 years ago54release-windows-amd64:
55build_dir: *build_dir
56builddeps:
57- *pinned_go
58- gcc-mingw-w64
59post-cache:
60- export GOOS=windows
61- export GOARCH=amd64
62- export CC=x86_64-w64-mingw32-gcc
63- make release
64release-windows-386:
65build_dir: *build_dir
66builddeps:
67- *pinned_go
68- gcc-mingw-w64
69post-cache:
70- export GOOS=windows
71- export GOARCH=386
72- export CC=i686-w64-mingw32-gcc-win32
73- make release
0c414cebChung-Ting Huang7 years ago74test:
75build_dir: *build_dir
76builddeps:
77- *pinned_go
78- build-essential
79post-cache:
80- export GOOS=linux
81- export GOARCH=amd64
e5335b6cNick Vollmar6 years ago82# cd to a non-module directory: https://github.com/golang/go/issues/24250
83- (cd / && go get github.com/BurntSushi/go-sumtype)
84- export PATH="$HOME/go/bin:$PATH"
0c414cebChung-Ting Huang7 years ago85- make test
72412db4Austin Cherry7 years ago86
15582801Nick Vollmar7 years ago87jessie: *stretch