diff options
author | Wim <wim@42.be> | 2021-10-14 15:20:58 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2021-10-14 15:20:58 +0200 |
commit | 110b6a143168f2950b6ec165bb2b0d32ef5f6591 (patch) | |
tree | deb7dde5edb83ce502fc298b54f87cd9850f68cd /.github/workflows/development.yml | |
parent | 53cafa9f3d0c8be33821fc7338b1da97e91d9cc6 (diff) | |
download | matterbridge-msglm-110b6a143168f2950b6ec165bb2b0d32ef5f6591.tar.gz matterbridge-msglm-110b6a143168f2950b6ec165bb2b0d32ef5f6591.tar.bz2 matterbridge-msglm-110b6a143168f2950b6ec165bb2b0d32ef5f6591.zip |
Build static binaries on github
Diffstat (limited to '.github/workflows/development.yml')
-rw-r--r-- | .github/workflows/development.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/development.yml b/.github/workflows/development.yml index e9370c70..fb958d2f 100644 --- a/.github/workflows/development.yml +++ b/.github/workflows/development.yml @@ -35,9 +35,9 @@ jobs: run: | mkdir -p output/{win,lin,arm,mac} VERSION=$(git describe --tags) - GOOS=linux GOARCH=amd64 go build -ldflags "-s -X main.githash=$(git log --pretty=format:'%h' -n 1)" -o output/lin/matterbridge-$VERSION-linux-amd64 - GOOS=windows GOARCH=amd64 go build -ldflags "-s -X main.githash=$(git log --pretty=format:'%h' -n 1)" -o output/win/matterbridge-$VERSION-windows-amd64.exe - GOOS=darwin GOARCH=amd64 go build -ldflags "-s -X main.githash=$(git log --pretty=format:'%h' -n 1)" -o output/mac/matterbridge-$VERSION-darwin-amd64 + CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-s -X main.githash=$(git log --pretty=format:'%h' -n 1)" -o output/lin/matterbridge-$VERSION-linux-amd64 + CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags "-s -X main.githash=$(git log --pretty=format:'%h' -n 1)" -o output/win/matterbridge-$VERSION-windows-amd64.exe + CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags "-s -X main.githash=$(git log --pretty=format:'%h' -n 1)" -o output/mac/matterbridge-$VERSION-darwin-amd64 - name: Upload linux 64-bit if: startsWith(matrix.go-version,'1.17') uses: actions/upload-artifact@v2 |