Fix windows builds

pull/22/head
JeremyRand 5 years ago
parent 62a1a8075f
commit 404153a56c
No known key found for this signature in database
GPG Key ID: B3F2D165786D6570

@ -1,5 +1,6 @@
git github.com/alecthomas/template b867cc6ab45cece8143cfcc6fc9c77cf3f2c23c0 heads/master
git github.com/alecthomas/units 2efee857e7cfd4f3d0138cc3cbb1b4966962b93a heads/master
git github.com/btcsuite/winsvc f8fb11f83f7e860e3769a08e6811d1b399a43722 tags/v1.0.0
git github.com/BurntSushi/toml 056c9bc7be7190eaa7715723883caffa5f8fa3e4 heads/master
git github.com/coreos/go-systemd a831f36d09de8f095c28eeee839df52e9de5031f heads/master
git github.com/golang/groupcache 604ed5785183e59ae2789449d89e73f3a2a77987 heads/master

@ -0,0 +1,19 @@
version: '[% c("abbrev") %]'
git_url: https://github.com/btcsuite/winsvc.git
git_hash: '[% config.var_p.id.${"github.com/btcsuite/winsvc"} %]'
filename: '[% project %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %].tar.gz'
build: '[% c("projects/go/var/build_go_lib") %]'
var:
container:
use_container: 1
go_lib: github.com/btcsuite/winsvc
go_lib_install:
- github.com/btcsuite/winsvc/mgr
- github.com/btcsuite/winsvc/svc
input_files:
- project: container-image
- name: go
project: go

@ -24,6 +24,14 @@ var:
export CGO_ENABLED=1
[% END -%]
targets:
windows:
var:
go_lib_deps:
- github.com,hlandau,xlog
- gopkg.in,hlandau,easyconfig.v1
- github.com,hlandau,buildinfo
input_files:
- project: container-image
- name: go
@ -40,5 +48,6 @@ input_files:
project: gopkg.in,hlandau,easyconfig.v1
- name: github.com,coreos,go-systemd
project: github.com,coreos,go-systemd
enable: '[% ! c("var/windows") %]'
- name: github.com,hlandau,buildinfo
project: github.com,hlandau,buildinfo

@ -0,0 +1 @@
../tor-browser-build/projects/goxsys

@ -31,6 +31,12 @@ targets:
var:
arch_deps:
- libcap-dev
windows:
var:
go_lib_deps:
- github.com,btcsuite,winsvc
- gopkg.in,hlandau,svcutils.v1
- gopkg.in,hlandau,easyconfig.v1
input_files:
- project: container-image
@ -42,6 +48,9 @@ input_files:
- name: binutils
project: binutils
enable: '[% c("var/linux") %]'
- name: github.com,btcsuite,winsvc
project: github.com,btcsuite,winsvc
enable: '[% c("var/windows") %]'
- name: gopkg.in,hlandau,svcutils.v1
project: gopkg.in,hlandau,svcutils.v1
- name: gopkg.in,hlandau,easyconfig.v1

@ -0,0 +1 @@
../tor-browser-build/projects/mingw-w64

@ -28,6 +28,21 @@ targets:
var:
arch_deps:
- libcap-dev
windows:
var:
go_lib_deps:
- github.com,golang,groupcache
- github.com,hlandau,degoutils
- github.com,hlandau,dexlogconfig
- github.com,hlandau,ncbtcjsontypes
- github.com,hlandauf,btcjson
- github.com,kr,pretty
- github.com,miekg,dns
- gopkg.in,hlandau,madns.v1
- gopkg.in,hlandau,easyconfig.v1
- gopkg.in,hlandau,service.v2
- golang.org,x,net
- golang.org,x,sys
input_files:
- project: container-image
@ -63,3 +78,6 @@ input_files:
project: github.com,hlandau,degoutils
- name: golang.org,x,net
project: golang.org,x,net
- name: golang.org,x,sys
project: golang.org,x,sys
enable: '[% c("var/windows") %]'

Loading…
Cancel
Save