mirror of
https://github.com/google/go-jsonnet.git
synced 2025-09-28 17:01:02 +02:00
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.
This commit is contained in:
parent
b9ae88d62d
commit
7a714b9bf5
11
.github/workflows/publish-python.yml
vendored
11
.github/workflows/publish-python.yml
vendored
@ -54,7 +54,9 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-22.04]
|
||||
os: [ubuntu-22.04, macos-13, macos-latest]
|
||||
# Windows Wheel build doesn't work yet.
|
||||
# os: [windows-2022]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@ -64,6 +66,13 @@ jobs:
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
- uses: actions/setup-go@v5
|
||||
# Linux runner doesn't need Go setup because it's installed
|
||||
# separately in each cibuildwheel build container
|
||||
if: "${{ runner.os != 'Linux' }}"
|
||||
with:
|
||||
go-version: "1.23.7"
|
||||
|
||||
- name: Build wheels
|
||||
uses: pypa/cibuildwheel@ee63bf16da6cddfb925f542f2c7b59ad50e93969 # v2.22.0
|
||||
env:
|
||||
|
Loading…
x
Reference in New Issue
Block a user