ci: remove binary compression

This commit is contained in:
Matthew Penner
2022-10-05 21:27:33 -06:00
parent 3f481e9540
commit 6c7065592d
3 changed files with 2 additions and 6 deletions

View File

@@ -58,7 +58,6 @@ jobs:
run: |
go build -v -trimpath -ldflags="-s -w -X ${SRC_PATH}/system.Version=dev-${GIT_COMMIT:0:7}" -o build/wings_${GOOS}_${GOARCH} wings.go
go build -v -trimpath -ldflags="-X ${SRC_PATH}/system.Version=dev-${GIT_COMMIT:0:7}" -o build/wings_${GOOS}_${GOARCH}_debug wings.go
upx build/wings_${GOOS}_${{ matrix.goarch }}
chmod +x build/*
- name: Tests
run: go test -race ./...

View File

@@ -22,8 +22,8 @@ jobs:
run: go test ./...
- name: Compress binary and make it executable
run: |
upx build/wings_linux_amd64 && chmod +x build/wings_linux_amd64
upx build/wings_linux_arm64 && chmod +x build/wings_linux_arm64
chmod +x build/wings_linux_amd64
chmod +x build/wings_linux_arm64
- name: Extract changelog
env:
REF: ${{ github.ref }}