Skip to content

Commit 0961dfb

Browse files
authored
Merge pull request #780 from jorisv/topic/fix-windows-pixi-build
Activate pixi build on Windows
2 parents 356aa26 + 129b2d3 commit 0961dfb

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/macos-linux-windows-pixi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ jobs:
179179
strategy:
180180
fail-fast: false
181181
matrix:
182-
os: [ubuntu-latest, macos-latest, macos-15-intel]
182+
os: [ubuntu-latest, macos-latest, macos-15-intel, windows-latest]
183183

184184
steps:
185185
- uses: actions/checkout@v5

pixi.toml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,16 @@ backend = { name = "pixi-build-cmake", version = "0.3.*" }
3535

3636
[package.build.config]
3737
extra-args = [
38-
# Don't use standard layout because it's not well implemented on Windows
39-
"-DPYTHON_STANDARD_LAYOUT=OFF",
38+
"-DGENERATE_PYTHON_STUBS=ON",
39+
"-DBUILD_TESTING=OFF",
40+
"-DCOAL_HAS_QHULL=ON",
41+
"-DCOAL_BACKWARD_COMPATIBILITY_WITH_HPP_FCL=ON",
42+
"-DCOAL_PYTHON_NANOBIND=OFF",
43+
]
44+
45+
[package.build.target.win-64.config]
46+
extra-args = [
47+
"-DPYTHON_SITELIB=%PREFIX%/Lib/site-packages",
4048
"-DGENERATE_PYTHON_STUBS=ON",
4149
"-DBUILD_TESTING=OFF",
4250
"-DCOAL_HAS_QHULL=ON",

0 commit comments

Comments
 (0)