Skip to content
Snippets Groups Projects
Commit 67221e86 authored by Kamil Trzcinski's avatar Kamil Trzcinski
Browse files

Fix broken FreeBSD builds

parent 73cddbb2
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ endif
ITTERATION := $(shell date +%s)
PACKAGE_CLOUD ?= ayufan/gitlab-ci-multi-runner
PACKAGE_CLOUD_URL ?= https://packagecloud.io/
BUILD_PLATFORMS ?= -os="linux" -os="darwin" -os="windows"
BUILD_PLATFORMS ?= -os="linux" -os="darwin" -os="windows" -os="freebsd"
S3_UPLOAD_PATH ?= master
DEB_PLATFORMS ?= debian/wheezy debian/jessie ubuntu/precise ubuntu/trusty ubuntu/utopic ubuntu/vivid
DEB_ARCHS ?= amd64 i386 arm armhf
......@@ -39,6 +39,10 @@ deps:
-go get golang.org/x/sys/windows/svc
godep restore
# Fix broken BSD builds
rm -rf $(GOPATH)/src/github.com/fsouza/go-dockerclient/external/github.com/Sirupsen/logrus
ln -s $(GOPATH)/src/github.com/Sirupsen/logrus $(GOPATH)/src/github.com/fsouza/go-dockerclient/external/github.com/Sirupsen/
toolchain:
# Building toolchain...
gox -build-toolchain $(BUILD_PLATFORMS)
......
......@@ -28,7 +28,7 @@ open go*-*.pkg
### For FreeBSD
```
pkg install go-1.4.2
pkg install go-1.4.2 gmake git mercurial
```
## 2. Configure Go
......@@ -61,6 +61,8 @@ This will download and restore all dependencies required to build runner:
make deps
```
**For FreeBSD use `gmake deps`**
## 5. Run runner
Normally you would use `gitlab-runner`, in order to compile and run Go source use go toolchain:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment