mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-11-28 07:21:21 +08:00
7a806b7ea2
Go 1.18 will now look for Git to obtain build info.
22 lines
296 B
YAML
22 lines
296 B
YAML
image: golang:alpine
|
|
|
|
variables:
|
|
REPO_NAME: gitlab.com/elves/elvish
|
|
|
|
before_script:
|
|
- go version
|
|
- apk add git
|
|
|
|
test:
|
|
script:
|
|
- apk add gcc musl-dev
|
|
- go test -race ./...
|
|
|
|
build:
|
|
script:
|
|
- apk add zip
|
|
- ./tools/buildall.sh . bin HEAD
|
|
artifacts:
|
|
paths:
|
|
- bin
|