mirror of
https://github.com/safedep/vet.git
synced 2025-12-10 00:22:08 -06:00
ci: Add Windows build support
This commit is contained in:
parent
9fb9b3fca6
commit
094e557720
3
.github/workflows/goreleaser.yml
vendored
3
.github/workflows/goreleaser.yml
vendored
@ -46,7 +46,8 @@ jobs:
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Install OSX Cross Compiler Build Tools
|
||||
run: sudo apt-get install -y -qq clang gcc g++ zlib1g-dev libmpc-dev libmpfr-dev libgmp-dev cmake libxml2-dev libssl-dev xz-utils
|
||||
run: sudo apt-get install -y -qq build-essential clang gcc g++ gcc-mingw-w64 \
|
||||
zlib1g-dev libmpc-dev libmpfr-dev libgmp-dev cmake libxml2-dev libssl-dev xz-utils
|
||||
|
||||
- name: Setup OSX Cross Compiler Tool Chain Environment
|
||||
run: |
|
||||
|
||||
@ -24,6 +24,13 @@ builds:
|
||||
- CC=o64-clang
|
||||
- CXX=o64-clang++
|
||||
|
||||
- id: windows
|
||||
goos: [windows]
|
||||
goarch: [amd64]
|
||||
env:
|
||||
- CC=x86_64-w64-mingw32-gcc
|
||||
- CXX=x86_64-w64-mingw32-g++
|
||||
|
||||
release:
|
||||
# for prerelease it doesn't build and distribute
|
||||
prerelease: auto
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user