Skip to content

Commit

Permalink
add macos
Browse files Browse the repository at this point in the history
  • Loading branch information
dh1tw committed Jan 28, 2024
1 parent feab01c commit 91d5430
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Cross Platform build
on: [push, pull_request]

jobs:
build_linux:
linux:
runs-on: ubuntu-22.04
strategy:
matrix:
Expand Down Expand Up @@ -31,6 +31,34 @@ jobs:
name: Execute Unit Tests
run: go test ./...

macos:
runs-on: macos-latest
strategy:
matrix:
go: ["1.6", "1.7", "1.8", "1.9", "1.10", "1.11", "1.12", "1.13", "1.14", "1.15", "1.16", "1.17", "1.18", "1.19", "1.20", "1.21"]
steps:
-
name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v4
id: go
with:
go-version: ${{ matrix.go }}
-
name: Checkout source code
uses: actions/checkout@v4
with:
submodules: true
-
name: Install dependencies
run: brew install libsamplerate
-
name: Compile
run: go build
-
name: Execute Unit Tests
run: go test ./...


update_code_coverage:
runs-on: ubuntu-22.04
steps:
Expand Down

0 comments on commit 91d5430

Please sign in to comment.