Skip to content

Commit 93255a0

Browse files
committed
[CI] build wheels macOS and Windows
1 parent 627f2d8 commit 93255a0

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.github/workflows/wheel.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,13 +209,13 @@ jobs:
209209
# will use its default cross-compilation settings for Windows on ARM64.
210210
# For macOS, we build universal wheels that work on both Intel and ARM macs.
211211
build-macos-windows:
212-
if: false
213212
name: Build wheels for ${{ matrix.os }}
214213
needs: [build-sdist]
215214
runs-on: ${{ matrix.os }}
216215
strategy:
217216
matrix:
218217
os: [macos-latest, windows-latest]
218+
fail-fast: false
219219
steps:
220220
- name: Checkout
221221
uses: actions/checkout@v4

scripts/ci/pre-build-macos.py

+3
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@
7070
print(profile)
7171

7272
opts = dict(shell=True, check=True)
73+
if not Path("recipes").exists():
74+
run(f"git clone https://github.com/tttapa/conan-recipes recipes", **opts)
75+
run(f"conan remote add tttapa-conan-recipes recipes --force", **opts)
7376
for c in ("Debug", "Release"):
7477
run(
7578
"conan install . -pr:h ./cibw.profile --build=missing -s build_type=" + c,

scripts/ci/pre-build-windows.py

+3
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@
7171
print(profile)
7272

7373
opts = dict(shell=True, check=True)
74+
if not Path("recipes").exists():
75+
run(f"git clone https://github.com/tttapa/conan-recipes recipes", **opts)
76+
run(f"conan remote add tttapa-conan-recipes recipes --force", **opts)
7477
for c in ("RelWithDebInfo", "Release"):
7578
run(
7679
"conan install . -pr:h ./cibw.profile --build=missing -s build_type=Release",

0 commit comments

Comments
 (0)