Skip to content

Commit 083c13b

Browse files
committed
add macos settings
1 parent b42bc1d commit 083c13b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/wheels.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ jobs:
88
runs-on: ${{ matrix.os }}
99
strategy:
1010
matrix:
11-
# os: [ubuntu-latest, macos-13, macos-latest]
12-
os: [ubuntu-latest]
11+
os: [ubuntu-latest, macos-13, macos-latest]
1312

1413
steps:
1514
- uses: actions/checkout@v4
@@ -24,15 +23,14 @@ jobs:
2423

2524
- name: Build wheels
2625
run: python -m cibuildwheel --output-dir wheelhouse
27-
# to supply options, put them in 'env', like:
2826
env:
29-
# CIBW_BEFORE_BUILD_LINUX: ${{ matrix.linux_type == 'musllinux' && 'apk add --no-cache openssl-dev' || 'yum install -y openssl openssl-devel' }}
3027
CIBW_BEFORE_BUILD_LINUX: |
3128
if [ -f "/etc/alpine-release" ]; then
3229
apk add --no-cache openssl-dev
3330
else
3431
yum install -y openssl openssl-devel
3532
fi
33+
CIBW_BEFORE_BUILD_MACOS: "brew install openssl"
3634
- uses: actions/upload-artifact@v4
3735
with:
3836
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}

0 commit comments

Comments
 (0)