Skip to content

Commit

Permalink
workflow: enable macOS in CI (#280)
Browse files Browse the repository at this point in the history
Signed-off-by: Yuchen Cheng <[email protected]>
  • Loading branch information
rudeigerc authored Jun 12, 2022
1 parent 13bed2c commit 02f83aa
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ jobs:
version: v1.46.2
test:
name: test
runs-on: ubuntu-latest
strategy:
matrix:
os: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') && [ubuntu-latest, macos-latest] || [ubuntu-latest] }}
runs-on: ${{ matrix.os }}
env:
GOPATH: ${{ github.workspace }}/go
defaults:
Expand Down Expand Up @@ -103,7 +106,10 @@ jobs:
# parallel: true
build:
name: build
runs-on: ubuntu-latest
strategy:
matrix:
os: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') && [ubuntu-latest, macos-latest] || [ubuntu-latest] }}
runs-on: ${{ matrix.os }}
env:
GOPATH: ${{ github.workspace }}/go
defaults:
Expand Down

0 comments on commit 02f83aa

Please sign in to comment.