Revert "Remove -race from CI build."

This reverts commit 486b578f6a.
This commit is contained in:
Martin Dosch 2022-07-14 10:30:48 +02:00
parent 60b9d8448a
commit 12081b10b6
No known key found for this signature in database
GPG Key ID: 52A57CFCE13D657D

View File

@ -39,7 +39,7 @@ compile:
script:
- echo "${CI_JOB_ID}" > CI_JOB_ID.txt
-buildmode=pie -ldflags -extldflags=-Wl,-z,now,-z,relro
- env GOOS=linux GOARCH=amd64 go build -buildmode=pie -ldflags "-extldflags=-Wl,-z,now,-z,relro '-static'" -o $CI_PROJECT_DIR/linux-amd64/go-sendxmpp
- env GOOS=linux GOARCH=amd64 go build -buildmode=pie -race -ldflags "-extldflags=-Wl,-z,now,-z,relro '-static'" -o $CI_PROJECT_DIR/linux-amd64/go-sendxmpp
- env GOOS=linux GOARCH=arm64 go build -buildmode=pie -ldflags "-extldflags=-Wl,-z,now,-z,relro '-static'" -o $CI_PROJECT_DIR/linux-arm64/go-sendxmpp
- env GOOS=linux GOARCH=386 go build -buildmode=pie -ldflags "-extldflags=-Wl,-z,now,-z,relro '-static'" -o $CI_PROJECT_DIR/linux-386/go-sendxmpp
- env GOOS=linux GOARCH=arm go build -buildmode=pie -ldflags "-extldflags=-Wl,-z,now,-z,relro '-static'" -o $CI_PROJECT_DIR/linux-arm/go-sendxmpp