From 7111e2e89bcb6a72ff4deb10121c0df3f738ad99 Mon Sep 17 00:00:00 2001 From: Nick Thomas Date: Thu, 22 Mar 2018 20:35:19 +0000 Subject: [PATCH] Fix the CI build --- .gitlab-ci.yml | 5 +++++ README.md | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index deda55c..3d68daf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,11 @@ image: golang:1.10 build: 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 + - rm -rf .GOPATH artifacts: untracked: true diff --git a/README.md b/README.md index a0c52a9..f69fd12 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,14 @@ $ go version 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 `make all` to get the binaries that exist at present.