Commit a70b8fdb authored by Administrator's avatar Administrator

Update .gitlab-ci.yml

parent 68571421
Pipeline #93 passed with stages
in 43 seconds
......@@ -25,18 +25,17 @@ format:
stage: test
script:
- go version
- go mod init test
- go get
#- go fmt $(go list ./... | grep -v /vendor/)
#- go vet $(go list ./... | grep -v /vendor/)
#- go test -race $(go list ./... | grep -v /vendor/)
- go build -o test.exe
tags:
- pw_build01
compile:
stage: build
script:
#- go build -race -ldflags "-extldflags '-static'" -o $CI_PROJECT_DIR/mybinary
- go mod init test
- go get
- go build -o test.exe
artifacts:
paths:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment