Skip to content

Commit

Permalink
ci: Use conda instead of pixi
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisv committed Dec 31, 2024
1 parent 2e61205 commit 7a8285d
Showing 1 changed file with 20 additions and 16 deletions.
36 changes: 20 additions & 16 deletions .github/workflows/windows-pixi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,28 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: 'true'
- uses: prefix-dev/[email protected]

- uses: conda-incubator/setup-miniconda@v3
with:
cache: false
run-install: false
- name: Create pixi.toml
channels: conda-forge
python-version: ${{ matrix.python-version }}
activate-environment: ndcurve
conda-remove-defaults: "true"

- name: Create conda environment
shell: bash
run: |
pixi init
pixi add cmake ^
ninja ^
cxx-compiler ^
eigen ^
eigenpy ^
pinocchio ^
libboost-devel ^
libboost-python-devel
conda install cmake \
ninja \
cxx-compiler \
eigen \
eigenpy \
pinocchio \
libboost-devel \
libboost-python-devel
- name: Configure
shell: pixi run bash -e {0}
shell: bash
env:
COMPILER: ${{ matrix.compiler }}
run: |
Expand All @@ -46,8 +50,8 @@ jobs:
-DGENERATE_PYTHON_STUB=ON \
-DCURVES_WITH_PINOCCHIO_SUPPORT=ON
- name: Build
shell: pixi run bash -e {0}
shell: bash
run: cmake --build build
- name: Test
shell: pixi run bash -e {0}
shell: bash
run: cmake --build build -t test

0 comments on commit 7a8285d

Please sign in to comment.