Skip to content

Commit

Permalink
ci: use pixi github action
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-p committed Nov 19, 2023
1 parent 2b36b05 commit 0e2caae
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/pixi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,22 @@ jobs:
matrix:
include:
- os: windows-latest
shell: "pwsh -Login {0}"
pixi_install: "iwr -useb https://pixi.sh/install.ps1 | iex"
build_depend: vs2022_win-64=19.*
tests_command: "'PATH=\\\"$PATH;build/Release\\\" build/tests/Release/behaviortree_cpp_test.exe'"
- os: ubuntu-latest
shell: "bash -el {0}"
pixi_install: "curl -fsSL https://pixi.sh/install.sh | bash"
build_depend: "gxx=12.2.*"
tests_command: "./build/tests/behaviortree_cpp_test"
runs-on: ${{ matrix.os }}
defaults:
run:
shell: ${{ matrix.shell }}
steps:
# Pixi is the tool used to create/manage conda environment
- name: Set up pixi
run: |
${{ matrix.pixi_install }}
- name: Setup windows path
if: "startsWith(runner.os, 'windows')"
run: echo "C:\Users\runneradmin\AppData\Local\pixi\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- uses: prefix-dev/setup-pixi@v0.3.0
with:
pixi-version: v0.7.0
locked: false
frozen: false
runInstall: false
- name: Make pixi workspace
run: |
pixi init build-env
Expand Down

0 comments on commit 0e2caae

Please sign in to comment.