This commit is contained in:
Dot-Rar 2020-04-15 20:56:22 +01:00
parent 10b85b59d5
commit f232e21db4

View File

@ -1,23 +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.14
working_directory: /go/src/github.com/TicketsBot/GoPanel
working_directory: /go/src/github.com/{{ORG_NAME}}/{{REPO_NAME}}
steps: steps:
- checkout - checkout
- restore_cache:
keys:
- v1-pkg-cache
- run: - run:
name: Install czlib name: Install czlib
command: sudo apt-get install -y zlib1g-dev command: sudo apt-get install -y zlib1g-dev
- run: - run: go build cmd/panel/main.go
name: Build
command: go build ./cmd/panel/main.go
- store_artifacts: - store_artifacts:
path: /go/src/github.com/{{ORG_NAME}}/{{REPO_NAME}}/main path: /go/src/github.com/TicketsBot/GoPanel/main