Skip to content

fix: Calling Close fails when running in Wine #18

fix: Calling Close fails when running in Wine

fix: Calling Close fails when running in Wine #18

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
# Unfortunately there is much duplication below. I have not found a
# way to set "runs-on" to an array, so instead I duplicated the
# whole thing three times.
linux_build_and_test:
name: Build and test (Linux)
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
go: ['1.13', '1.14', '1.15', '1.16']
steps:
- id: go
name: Set up Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}
- name: Checkout
uses: actions/checkout@v2
- name: Build
run: go build -v .
- name: Test
run: go test -v .
windows_build_and_test:
name: Build and test (Windows)
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
go: ['1.13', '1.14', '1.15', '1.16']
steps:
- id: go
name: Set up Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}
- name: Checkout
uses: actions/checkout@v2
- name: Build
run: go build -v .
- name: Test
run: go test -v .
macos_build_and_test:
name: Build and test (macOS)
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
go: ['1.13', '1.14', '1.15', '1.16']
steps:
- id: go
name: Set up Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}
- name: Checkout
uses: actions/checkout@v2
- name: Build
run: go build -v .
- name: Test
run: go test -v .