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.