Skip to content

Commit 415c437

Browse files
committed
ci: add macos-13 (x86_64) to test matrix to reproduce issue #370
1 parent 5b00113 commit 415c437

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 17 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-13]
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-13'
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,15 @@ jobs:
7784
if: matrix.platform == 'windows-latest'
7885
run: |
7986
go test -v ./...
87+
88+
- name: Build-macOS
89+
if: matrix.platform == 'macos-13'
90+
run: |
91+
make
92+
- name: Test macOS
93+
if: matrix.platform == 'macos-13'
94+
run: |
95+
make test
8096
- name: Upload-Coverage
8197
if: matrix.platform == 'ubuntu-latest'
8298
uses: codecov/codecov-action@v4

0 commit comments

Comments
 (0)