From 52c60ba69288c463c495ad7c81a4da9a838d2682 Mon Sep 17 00:00:00 2001 From: Tony Paulussen Date: Sun, 19 Nov 2023 15:11:17 +0100 Subject: [PATCH] ci: use pixi github action --- .github/workflows/pixi.yaml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/pixi.yaml b/.github/workflows/pixi.yaml index d238ef74c..ca9eecf8f 100644 --- a/.github/workflows/pixi.yaml +++ b/.github/workflows/pixi.yaml @@ -13,27 +13,21 @@ 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 - name: Make pixi workspace run: | pixi init build-env