Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Commit

Permalink
Add macOS and Windows to test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
jlegrone committed Feb 26, 2022
1 parent 4a98dbd commit 75ee704
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,21 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
# cgo is currently required by the upstream SQLite driver.
# This case should be un-commented if and when cgo is
# supported again.
# - cgo: "0"
- cgo: "1"
os: [macos-latest, windows-latest, ubuntu-18.04]
flags:
- ""
- -tags headless
cgo: ["0", "1"]
exclude:
# TODO: remove this exception after https://github.com/temporalio/ui-server/issues/104 is closed.
- os: windows-latest
flags: ""
# cgo is currently required by the upstream SQLite driver.
# This exception should be removed if/when non-cgo builds are supported again.
- cgo: "0"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Go
Expand All @@ -43,4 +49,4 @@ jobs:
- name: Test
env:
CGO_ENABLED: ${{ matrix.cgo }}
run: go test -v ./...
run: go test -v ${{ matrix.flags }} ./...

0 comments on commit 75ee704

Please sign in to comment.