mirror of
https://git.sr.ht/~ashkeel/strimertul
synced 2024-09-06 00:50:51 +00:00
ci: faster upx
Some checks reported errors
continuous-integration/drone/tag Build encountered an error
Some checks reported errors
continuous-integration/drone/tag Build encountered an error
This commit is contained in:
parent
11e2e202fe
commit
212758f87a
1 changed files with 4 additions and 4 deletions
|
@ -12,9 +12,9 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get install -y upx
|
- apt-get install -y upx
|
||||||
- GOOS=linux GOARCH=amd64 CC=x86_64-linux-gnu-gcc wails build -ldflags "-X main.appVersion=$DRONE_TAG" -platform linux/amd64 -upx -o strimertul-amd64
|
- GOOS=linux GOARCH=amd64 CC=x86_64-linux-gnu-gcc wails build -ldflags "-X main.appVersion=$DRONE_TAG" -platform linux/amd64 -upx -upxflags "-9" -o strimertul-amd64
|
||||||
- GOOS=linux GOARCH=arm64 CC=aarch64-linux-gnu-gcc wails build -ldflags "-X main.appVersion=$DRONE_TAG" -m -nosyncgomod -skipbindings -s -platform linux/arm64 -upx -o strimertul-arm64
|
- GOOS=linux GOARCH=arm64 CC=aarch64-linux-gnu-gcc wails build -ldflags "-X main.appVersion=$DRONE_TAG" -m -nosyncgomod -skipbindings -s -platform linux/arm64 -upx -upxflags "-9" -o strimertul-arm64
|
||||||
- GOOS=windows GOARCH=amd64 CC=x86_64-w64-mingw32-gcc wails build -ldflags "-X main.appVersion=$DRONE_TAG" -m -nosyncgomod -skipbindings -s -platform windows/amd64 -upx
|
- GOOS=windows GOARCH=amd64 CC=x86_64-w64-mingw32-gcc wails build -ldflags "-X main.appVersion=$DRONE_TAG" -m -nosyncgomod -skipbindings -s -platform windows/amd64 -upx -upxflags "-9"
|
||||||
- mkdir build/bin/$DRONE_TAG
|
- mkdir build/bin/$DRONE_TAG
|
||||||
- mv build/bin/strimertul* "build/bin/$DRONE_TAG/"
|
- mv build/bin/strimertul* "build/bin/$DRONE_TAG/"
|
||||||
|
|
||||||
|
@ -33,6 +33,6 @@ steps:
|
||||||
endpoint: https://artifacts.fromouter.space
|
endpoint: https://artifacts.fromouter.space
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 45d36e1a08310a432efef06ce722b64cebd15083c7eeb3fec751657244c5e8bd
|
hmac: 7d5db93588da76d49f91ee4b27d8855dbaf1911f147140fd4e30e1104e51326f
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in a new issue