diff --git a/.github/workflows/pixi.yaml b/.github/workflows/pixi.yaml index d238ef74c..821a82e7f 100644 --- a/.github/workflows/pixi.yaml +++ b/.github/workflows/pixi.yaml @@ -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.4.1 + with: + pixi-version: v0.7.0 + locked: false + frozen: false + runInstall: false - name: Make pixi workspace run: | pixi init build-env