Skip to content

Commit 7a714b9

Browse files
ci: build gojsonnet wheels on Mac OS
Use the GitHub setup-go action to install Go, as it is not in the Mac OS runner images by default. I tried but failed to get a Windows wheel build working, so that remains disabled for now.
1 parent b9ae88d commit 7a714b9

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/publish-python.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ jobs:
5454
strategy:
5555
fail-fast: false
5656
matrix:
57-
os: [ubuntu-22.04]
57+
os: [ubuntu-22.04, macos-13, macos-latest]
58+
# Windows Wheel build doesn't work yet.
59+
# os: [windows-2022]
5860

5961
permissions:
6062
contents: read
@@ -64,6 +66,13 @@ jobs:
6466
with:
6567
submodules: true
6668

69+
- uses: actions/setup-go@v5
70+
# Linux runner doesn't need Go setup because it's installed
71+
# separately in each cibuildwheel build container
72+
if: "${{ runner.os != 'Linux' }}"
73+
with:
74+
go-version: "1.23.7"
75+
6776
- name: Build wheels
6877
uses: pypa/cibuildwheel@ee63bf16da6cddfb925f542f2c7b59ad50e93969 # v2.22.0
6978
env:

0 commit comments

Comments
 (0)