File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 :
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'
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
You can’t perform that action at this time.
0 commit comments