-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* setup pixi Add dependencies, environments and tasks. Note: dependencies are currently duplicated in pyproject.toml since we prefer installing spherely dependencies using conda packages instead of getting them from pypi (see prefix-dev/pixi#532). The two "configure" and "compile" tasks consist of raw cmake command calls so we can better debug any issue during these two stages. Those tasks are not used to build and install Spherely. Instead, Spherely is declared as an editable pypi-dependency so that pixi can re-build and re-install it (via uv/pip and scikit-build-core) when needed. The `build-dir` scikit-build option has been set to speed-up rebuilds. * test pixi configuration in CI * doc: add instructions to get started using pixi
- Loading branch information
Showing
5 changed files
with
11,075 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,3 +107,17 @@ jobs: | |
verbose: true | ||
if: | | ||
runner.os == 'Linux' && matrix.python-version == '3.11' && matrix.dev == false | ||
test_with_pixi: | ||
name: Tests via pixi | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- uses: prefix-dev/[email protected] | ||
with: | ||
pixi-version: v0.40.1 | ||
cache: true | ||
|
||
- run: pixi run --environment test tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -138,3 +138,6 @@ compile_commands.json | |
# docs | ||
docs/build/ | ||
docs/_api_generated | ||
|
||
# pixi | ||
.pixi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.