Skip to content

Commit f93fc93

Browse files
committed
ci: add macos-14 (arm) to reproduce issue #370
1 parent 5b00113 commit f93fc93

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
fail-fast: false
2424
matrix:
2525
go-version: [1.25.x, 1.24.x, 1.22.x, 1.21.x]
26-
platform: [ubuntu-latest, windows-latest]
26+
platform: [ubuntu-latest, windows-latest, macos-14]
2727
#platform: [ubuntu-latest, macos-latest, windows-latest]
2828
runs-on: ${{ matrix.platform }}
2929
steps:
@@ -59,6 +59,13 @@ jobs:
5959
# install goimports
6060
go install golang.org/x/tools/cmd/goimports@latest
6161
62+
- name: Install macOS packages
63+
if: matrix.platform == 'macos-14'
64+
run: |
65+
# install pybindgen
66+
python3 -m pip install --user -U pybindgen
67+
# install goimports
68+
go install golang.org/x/tools/cmd/goimports@latest
6269
6370
- name: Build-Linux
6471
if: matrix.platform == 'ubuntu-latest'
@@ -77,6 +84,17 @@ jobs:
7784
if: matrix.platform == 'windows-latest'
7885
run: |
7986
go test -v ./...
87+
88+
- name: Build-macOS
89+
if: matrix.platform == 'macos-14'
90+
run: |
91+
make
92+
93+
- name: Test macOS
94+
if: matrix.platform == 'macos-14'
95+
run: |
96+
make test
97+
8098
- name: Upload-Coverage
8199
if: matrix.platform == 'ubuntu-latest'
82100
uses: codecov/codecov-action@v4

0 commit comments

Comments
 (0)