Commit e7a88e5 1 parent ed7ec5b commit e7a88e5 Copy full SHA for e7a88e5
File tree 5 files changed +13
-2
lines changed
5 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -209,13 +209,13 @@ jobs:
209
209
# will use its default cross-compilation settings for Windows on ARM64.
210
210
# For macOS, we build universal wheels that work on both Intel and ARM macs.
211
211
build-macos-windows :
212
- if : false
213
212
name : Build wheels for ${{ matrix.os }}
214
213
needs : [build-sdist]
215
214
runs-on : ${{ matrix.os }}
216
215
strategy :
217
216
matrix :
218
217
os : [macos-latest, windows-latest]
218
+ fail-fast : false
219
219
steps :
220
220
- name : Checkout
221
221
uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -114,6 +114,9 @@ environment = { PY_BUILD_CMAKE_VERBOSE = "1" }
114
114
test-command = " pytest {package}/python/test"
115
115
test-extras = [" test" ]
116
116
117
+ [tool .cibuildwheel .config-settings ]
118
+ --local = " scripts/ci/py-build-cmake.toml"
119
+
117
120
[tool .cibuildwheel .macos ]
118
121
archs = [" universal2" ]
119
122
before-build = [
Original file line number Diff line number Diff line change 70
70
print (profile )
71
71
72
72
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 )
73
76
for c in ("Debug" , "Release" ):
74
77
run (
75
78
"conan install . -pr:h ./cibw.profile --build=missing -s build_type=" + c ,
Original file line number Diff line number Diff line change 71
71
print (profile )
72
72
73
73
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 )
74
77
for c in ("RelWithDebInfo" , "Release" ):
75
78
run (
76
- "conan install . -pr:h ./cibw.profile --build=missing -s build_type=Release" ,
79
+ "conan install . -pr:h ./cibw.profile --build=missing -s build_type=" + c ,
77
80
** opts ,
78
81
)
Original file line number Diff line number Diff line change @@ -28,4 +28,6 @@ CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO = "/INCREMENTAL:NO /DEBUG:FULL /OPT:REF
28
28
ALPAQA_PYTHON_DEBUG_CONFIG = " RelWithDebInfo"
29
29
[windows .cmake .10 ]
30
30
install_config = " RelWithDebInfo"
31
+ preset = " conan-python-relwithdebinfo"
31
32
build_presets = " conan-python-relwithdebinfo"
33
+ build_path =" build/python-relwithdebinfo"
You can’t perform that action at this time.
0 commit comments