Skip to content

Commit 1942b25

Browse files
committed
fix: install mingw-64 for windows
1 parent 7321906 commit 1942b25

File tree

1 file changed

+1
-34
lines changed

1 file changed

+1
-34
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,12 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
# build and publish in parallel: linux/386, linux/amd64, windows/386, windows/amd64, darwin/amd64
1211
goos: [windows]
1312
goarch: [amd64]
14-
# goarch: ['386', amd64]
15-
# exclude:
16-
# - goarch: '386'
17-
# goos: darwin
1813
steps:
1914
- uses: actions/checkout@v2
2015
- name: Install dependencies
21-
run: sudo apt-get install build-essential gcc_mingw64
16+
run: sudo apt-get install build-essential mingw-w64
2217
- name: Set VERSION env
2318
run: echo VERSION=$(basename ${GITHUB_REF}) >> ${GITHUB_ENV}
2419
- name: Set GO env
@@ -31,31 +26,3 @@ jobs:
3126
build_command: make clean && make
3227
md5sum: FALSE
3328
extra_files: .env.sample app build template
34-
releases-darwin:
35-
name: Release Authorizer Binary
36-
runs-on: ubuntu-latest
37-
strategy:
38-
matrix:
39-
# build and publish in parallel: linux/386, linux/amd64, windows/386, windows/amd64, darwin/amd64
40-
goos: [darwin]
41-
goarch: [amd64]
42-
# goarch: ['386', amd64]
43-
# exclude:
44-
# - goarch: '386'
45-
# goos: darwin
46-
steps:
47-
- uses: actions/checkout@v2
48-
- name: Install dependencies
49-
run: sudo apt-get install build-essential gcc g++ zlib1g-dev libmpc-dev libmpfr-dev libgmp-dev
50-
- name: Set VERSION env
51-
run: echo VERSION=$(basename ${GITHUB_REF}) >> ${GITHUB_ENV}
52-
- name: Set GO env
53-
run: echo CGO_ENABLED=1 >> ${GITHUB_ENV} && echo CC=o64-clang >> ${GITHUB_ENV}
54-
- uses: wangyoucao577/[email protected]
55-
with:
56-
github_token: ${{ secrets.RELEASE_TOKEN }}
57-
goos: ${{ matrix.goos }}
58-
goarch: ${{ matrix.goarch }}
59-
build_command: make clean && make
60-
md5sum: FALSE
61-
extra_files: .env.sample app build template

0 commit comments

Comments
 (0)