mirror of
https://salsa.debian.org/mdosch/go-sendxmpp
synced 2024-11-15 00:15:10 +00:00
CI: Try 'static-pie' for 32bit builds.
This commit is contained in:
parent
817382c9cb
commit
8b25e3cd80
@ -40,9 +40,9 @@ compile:
|
|||||||
- echo "${CI_JOB_ID}" > CI_JOB_ID.txt
|
- echo "${CI_JOB_ID}" > CI_JOB_ID.txt
|
||||||
- env GOOS=linux GOARCH=amd64 go build -buildmode=pie -ldflags "-extldflags '-static'" -o $CI_PROJECT_DIR/linux-amd64/go-sendxmpp
|
- env GOOS=linux GOARCH=amd64 go build -buildmode=pie -ldflags "-extldflags '-static'" -o $CI_PROJECT_DIR/linux-amd64/go-sendxmpp
|
||||||
- env GOOS=linux GOARCH=arm64 go build -buildmode=pie -ldflags "-extldflags '-static'" -o $CI_PROJECT_DIR/linux-arm64/go-sendxmpp
|
- env GOOS=linux GOARCH=arm64 go build -buildmode=pie -ldflags "-extldflags '-static'" -o $CI_PROJECT_DIR/linux-arm64/go-sendxmpp
|
||||||
# - env GOOS=linux GOARCH=386 go build -buildmode=pie -ldflags "-extldflags '-static'" -o $CI_PROJECT_DIR/linux-386/go-sendxmpp
|
- env GOOS=linux GOARCH=386 go build -buildmode=pie -ldflags "-extldflags '-static-pie'" -o $CI_PROJECT_DIR/linux-386/go-sendxmpp
|
||||||
- env GOOS=linux GOARCH=arm go build -buildmode=pie -ldflags "-extldflags '-static'" -o $CI_PROJECT_DIR/linux-arm/go-sendxmpp
|
- env GOOS=linux GOARCH=arm go build -buildmode=pie -ldflags "-extldflags '-static'" -o $CI_PROJECT_DIR/linux-arm/go-sendxmpp
|
||||||
- env GOOS=windows GOARCH=386 go build -buildmode=pie -ldflags "-extldflags '-static'" -o $CI_PROJECT_DIR/win386/go-sendxmpp.exe
|
- env GOOS=windows GOARCH=386 go build -buildmode=pie -ldflags "-extldflags '-static-pie'" -o $CI_PROJECT_DIR/win386/go-sendxmpp.exe
|
||||||
- env GOOS=windows GOARCH=amd64 go build -buildmode=pie -ldflags "-extldflags '-static'" -o $CI_PROJECT_DIR/win64/go-sendxmpp.exe
|
- env GOOS=windows GOARCH=amd64 go build -buildmode=pie -ldflags "-extldflags '-static'" -o $CI_PROJECT_DIR/win64/go-sendxmpp.exe
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
|
Loading…
Reference in New Issue
Block a user