Commit 915bedbe authored by Simon Kirsten's avatar Simon Kirsten
Browse files

Fixed CI pipeline again again

parent 4f062b0f
Pipeline #22294 passed with stages
in 1 minute and 26 seconds
......@@ -2,18 +2,18 @@ server:
stage: build
image: golang:1.12
variables:
BUILD_OPTIONS: "-ldflags \"-s -X code.fbi.h-da.de/simons-nzse-2/stream-tv/pkg/twitch.ClientID=$TWITCH_CLIENT_ID\""
LDFLAGS: -s -X code.fbi.h-da.de/simons-nzse-2/stream-tv/pkg/twitch.ClientID=${TWITCH_CLIENT_ID}
script:
- env GOOS=darwin GOARCH=386 go build $BUILD_OPTIONS -o binaries/darwin-x86/stream-tv-server ./cmd/stream-tv-server
- env GOOS=darwin GOARCH=amd64 go build $BUILD_OPTIONS -o binaries/darwin-x86_64/stream-tv-server ./cmd/stream-tv-server
- env GOOS=darwin GOARCH=386 go build -ldflags "${LDFLAGS}" -o binaries/darwin-x86/stream-tv-server ./cmd/stream-tv-server
- env GOOS=darwin GOARCH=amd64 go build -ldflags "${LDFLAGS}" -o binaries/darwin-x86_64/stream-tv-server ./cmd/stream-tv-server
- env GOOS=linux GOARCH=386 go build $BUILD_OPTIONS -o binaries/linux-x86/stream-tv-server ./cmd/stream-tv-server
- env GOOS=linux GOARCH=amd64 go build $BUILD_OPTIONS -o binaries/linux-x86_64/stream-tv-server ./cmd/stream-tv-server
- env GOOS=linux GOARCH=arm go build $BUILD_OPTIONS -o binaries/linux-arm/stream-tv-server ./cmd/stream-tv-server
- env GOOS=linux GOARCH=arm64 go build $BUILD_OPTIONS -o binaries/linux-arm64/stream-tv-server ./cmd/stream-tv-server
- env GOOS=linux GOARCH=386 go build -ldflags "${LDFLAGS}" -o binaries/linux-x86/stream-tv-server ./cmd/stream-tv-server
- env GOOS=linux GOARCH=amd64 go build -ldflags "${LDFLAGS}" -o binaries/linux-x86_64/stream-tv-server ./cmd/stream-tv-server
- env GOOS=linux GOARCH=arm go build -ldflags "${LDFLAGS}" -o binaries/linux-arm/stream-tv-server ./cmd/stream-tv-server
- env GOOS=linux GOARCH=arm64 go build -ldflags "${LDFLAGS}" -o binaries/linux-arm64/stream-tv-server ./cmd/stream-tv-server
- env GOOS=windows GOARCH=386 go build $BUILD_OPTIONS -o binaries/windows-x86/stream-tv-server.exe ./cmd/stream-tv-server
- env GOOS=windows GOARCH=amd64 go build $BUILD_OPTIONS -o binaries/windows-x86_64/stream-tv-server.exe ./cmd/stream-tv-server
- env GOOS=windows GOARCH=386 go build -ldflags "${LDFLAGS}" -o binaries/windows-x86/stream-tv-server.exe ./cmd/stream-tv-server
- env GOOS=windows GOARCH=amd64 go build -ldflags "${LDFLAGS}" -o binaries/windows-x86_64/stream-tv-server.exe ./cmd/stream-tv-server
artifacts:
paths:
......
Supports Markdown
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