Fix the CI build

This commit is contained in:
2018-03-22 20:35:19 +00:00
parent 174ba103f4
commit 7111e2e89b
2 changed files with 13 additions and 0 deletions

View File

@@ -2,6 +2,11 @@ image: golang:1.10
build: build:
script: script:
- apt-get update && apt-get install -q -yy libx11-dev libxcursor-dev mesa-common-dev libxrandr-dev libxinerama-dev libgl1-mesa-dev libxi-dev
- export GOPATH=`pwd`/.GOPATH
- mkdir -p $GOPATH/src/ur.gs
- ln -s `pwd` $GOPATH/src/ur.gs/ordoor
- make all - make all
- rm -rf .GOPATH
artifacts: artifacts:
untracked: true untracked: true

View File

@@ -22,6 +22,14 @@ $ go version
go version go1.10 linux/amd64 go version go1.10 linux/amd64
``` ```
In addition, you'll also need the following packages installed, at least in
Debian:
```
apt-get install libx11-dev libxcursor-dev mesa-common-dev libxrandr-dev \
libxinerama-dev libgl1-mesa-dev libxi-dev
```
Clone the source tree to `$GOPATH/src/ur.gs/ordoor`. You can then run Clone the source tree to `$GOPATH/src/ur.gs/ordoor`. You can then run
`make all` to get the binaries that exist at present. `make all` to get the binaries that exist at present.