Skip to content

Commit 936eb09

Browse files
committed
pixi: Use target specific config for Windows
1 parent 77bf052 commit 936eb09

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
strategy:
102102
fail-fast: false
103103
matrix:
104-
os: [ubuntu-latest, macos-latest, macos-15-intel]
104+
os: [ubuntu-latest, macos-latest, macos-15-intel, windows-latest]
105105

106106
steps:
107107
- uses: actions/checkout@v5

pixi.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ extra-args = [
3636
"-DBUILD_TESTING_SCIPY=OFF",
3737
]
3838

39+
[package.build.target.win-64.config]
40+
extra-args = [
41+
"-DPYTHON_SITELIB=%PREFIX%/Lib/site-packages",
42+
"-DGENERATE_PYTHON_STUBS=ON",
43+
"-DBUILD_TESTING=OFF",
44+
"-DBUILD_TESTING_SCIPY=OFF",
45+
]
46+
3947
[package.build-dependencies]
4048
pkg-config = ">=0.29.2"
4149

0 commit comments

Comments
 (0)