Skip to content

Commit 8697fa7

Browse files
committed
CI cibw under pixi venv
1 parent e674984 commit 8697fa7

File tree

3 files changed

+42
-42
lines changed

3 files changed

+42
-42
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Lint with ruff
1818
run: |
1919
pixi run lint
20-
- name: Lint with ruff
20+
- name: Lint with cython-lint
2121
run: |
2222
pixi run cython-lint
2323
- name: Format with black
@@ -54,6 +54,9 @@ jobs:
5454

5555
steps:
5656
- uses: actions/checkout@v4
57+
- uses: prefix-dev/[email protected]
58+
with:
59+
environments: default
5760

5861
- name: Build wheels
5962
uses: pypa/[email protected]
@@ -65,9 +68,6 @@ jobs:
6568
CIBW_ARCHS_LINUX: auto64
6669
CIBW_ARCHS_MACOS: x86_64 arm64
6770
CIBW_ARCHS_WINDOWS: auto64
68-
CIBW_BEFORE_BUILD_LINUX: sudo apt install -y pkg-config && python -m pip install ninja
69-
CIBW_BEFORE_BUILD_MACOS: brew install pkg-config && python -m pip install ninja
70-
CIBW_BEFORE_BUILD_WINDOWS: choco install rtools -y --no-progress --force --version=4.0.0.20220206 && python -m pip install ninja
7171

7272
- name: Upload package
7373
uses: actions/upload-artifact@v4

pixi.lock

Lines changed: 37 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ type = ["mypy"]
3434
doc = ["furo"]
3535

3636
[build-system]
37-
requires = ["meson-python", "cython", "scikit-learn", "build"]
37+
requires = ["meson-python"]
3838
build-backend = "mesonpy"
3939

4040
[tool.pixi.project]

0 commit comments

Comments
 (0)