Skip to content

Commit 381f6e4

Browse files
committed
ci: use pixi github action
1 parent 2b36b05 commit 381f6e4

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

.github/workflows/pixi.yaml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,21 @@ jobs:
1313
matrix:
1414
include:
1515
- os: windows-latest
16-
shell: "pwsh -Login {0}"
17-
pixi_install: "iwr -useb https://pixi.sh/install.ps1 | iex"
1816
build_depend: vs2022_win-64=19.*
1917
tests_command: "'PATH=\\\"$PATH;build/Release\\\" build/tests/Release/behaviortree_cpp_test.exe'"
2018
- os: ubuntu-latest
21-
shell: "bash -el {0}"
22-
pixi_install: "curl -fsSL https://pixi.sh/install.sh | bash"
2319
build_depend: "gxx=12.2.*"
2420
tests_command: "./build/tests/behaviortree_cpp_test"
2521
runs-on: ${{ matrix.os }}
26-
defaults:
27-
run:
28-
shell: ${{ matrix.shell }}
2922
steps:
3023
# Pixi is the tool used to create/manage conda environment
31-
- name: Set up pixi
32-
run: |
33-
${{ matrix.pixi_install }}
34-
- name: Setup windows path
35-
if: "startsWith(runner.os, 'windows')"
36-
run: echo "C:\Users\runneradmin\AppData\Local\pixi\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
24+
- uses: prefix-dev/[email protected]
25+
with:
26+
pixi-version: v0.7.0
27+
locked: false
28+
frozen: false
29+
run-install: false
30+
manifest-path: build-env/pixi.yaml
3731
- name: Make pixi workspace
3832
run: |
3933
pixi init build-env

0 commit comments

Comments
 (0)