Compile windows without cgo (#14)
This commit is contained in:
parent
1614af438e
commit
56d32fd1f4
2 changed files with 8 additions and 2 deletions
.github/workflows
6
.github/workflows/build.yaml
vendored
6
.github/workflows/build.yaml
vendored
|
@ -30,6 +30,7 @@ jobs:
|
|||
- job_name: windows_amd64
|
||||
os: windows-latest
|
||||
go: '1.15.x'
|
||||
cgo: '0'
|
||||
|
||||
name: ${{ matrix.job_name }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
@ -45,6 +46,11 @@ jobs:
|
|||
stable: 'false'
|
||||
go-version: ${{ matrix.go }}
|
||||
|
||||
- name: Set environment variables
|
||||
shell: bash
|
||||
run: |
|
||||
if [[ "${{ matrix.cgo }}" != "" ]]; then echo 'CGO_ENABLED=${{ matrix.cgo }}' >> $GITHUB_ENV ; fi
|
||||
|
||||
- name: Install Libraries on Linux
|
||||
shell: bash
|
||||
run: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue