Skip to content

Commit

Permalink
add pixi env for rattler-build
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv committed Apr 25, 2024
1 parent 49ca9d6 commit 46e893f
Show file tree
Hide file tree
Showing 3 changed files with 282 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,17 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 2

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.18.0
cache: true
manifest-path: recipes/pixi.toml

- name: Add .pixi/envs/default to the $PATH
shell: bash
run: |
echo "$(pwd)/.pixi/envs/default/bin" >> $GITHUB_PATH
echo "$(pwd)/recipes/.pixi/envs/default/bin" >> $GITHUB_PATH
- name: Run code in changed subdirectories
shell: bash
Expand Down
267 changes: 267 additions & 0 deletions recipes/pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions recipes/pixi.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[project]
name = "recipes"
version = "0.1.0"
description = "Add a short description here"
authors = ["Wolf Vollprecht <[email protected]>"]
channels = ["conda-forge"]
platforms = ["osx-arm64", "linux-64", "osx-64", "win-64"]

[tasks]

[dependencies]
rattler-build = ">=0.15.0"

0 comments on commit 46e893f

Please sign in to comment.