1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-09-27 13:46:00 -04:00

Merge pull request #1036 from gucio321/hotfix

circleci update
This commit is contained in:
Tim Sarbin 2021-01-27 09:38:26 -05:00 committed by GitHub
commit 374944dfc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,22 @@
# Golang CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-go/ for more details
version: 2 version: 2
jobs: jobs:
build: build:
docker: docker:
- image: circleci/golang:1.14 - image: circleci/golang:1.15.6
working_directory: /go/src/github.com/OpenDiablo2/OpenDiablo2 working_directory: /go/src/github.com/{{ORG_NAME}}/{{REPO_NAME}}
steps: steps:
- checkout - checkout
- run: sudo apt-get install -y libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libgl1-mesa-dev libsdl2-dev libasound2-dev > /dev/null 2>&1 - run: sudo apt-get install -y libgtk-3-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libgl1-mesa-dev libsdl2-dev libasound2-dev > /dev/null 2>&1
- run: go get -v -t -d ./... - run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin
- run: go build . - run: go get -v -t -d ./...
#- run: go test -v ./... - run: go build .
- run: xvfb-run --auto-servernum go test -v -race ./...
- run: golangci-lint run ./...
workflows:
version: 2
build:
jobs:
- build