elvish/.gitlab-ci.yml
Qi Xiao 7a806b7ea2 Add "apk add git" to GitLab CI.
Go 1.18 will now look for Git to obtain build info.
2022-03-18 10:59:57 +00:00

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