Skip to content

Commit c46a9bc

Browse files
committed
ci: add explicit pixi env
1 parent ccc2cc4 commit c46a9bc

1 file changed

Lines changed: 12 additions & 11 deletions

File tree

.github/workflows/ci-pixi.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
matrix:
3232
build_type: [Release, Debug]
3333
cxx_std: [17, 20]
34+
pixi_environment: [default]
3435
os: [ubuntu-22.04, ubuntu-24.04, macos-15-intel, macos-26, windows-2022, windows-2025]
3536

3637
steps:
@@ -44,33 +45,32 @@ jobs:
4445
- name: Install Pixi
4546
uses: prefix-dev/setup-pixi@v0.9.3
4647
with:
47-
cache: false
48-
pixi-version: latest
48+
environments: default
4949

5050
- name: Install Pixi environment
51-
run: pixi install
51+
run: pixi -e default install
5252

5353
- name: Configure
54-
run: pixi run configure --fresh --log-level=DEBUG
54+
run: pixi run -e default configure --fresh --log-level=DEBUG
5555

5656
- name: Build
57-
run: pixi run build --verbose --parallel 1
57+
run: pixi run -e default build --verbose --parallel 1
5858

5959
- name: Install
60-
run: pixi run install
60+
run: pixi run -e default install
6161

6262
- name: Test Python import
63-
run: pixi run test-import-python
63+
run: pixi run -e default test-import-python
6464

6565
- name: Run C++ tests
6666
if: ${{ !(startsWith(matrix.os, 'windows-') && matrix.build_type == 'Debug') }}
67-
run: pixi run test
67+
run: pixi run -e default test
6868

6969
- name: Run packaging tests
70-
run: pixi run test-packaging
70+
run: pixi run -e default test-packaging
7171

7272
- name: Uninstall
73-
run: pixi run uninstall
73+
run: pixi run -e default uninstall
7474

7575
pixi-build:
7676
name: Pixi Build CI
@@ -85,10 +85,11 @@ jobs:
8585
- name: Install Pixi
8686
uses: prefix-dev/setup-pixi@v0.9.3
8787
with:
88+
cache: false
8889
environments: test-pixi-build
8990

9091
- name: Run Pixi build test
91-
run: pixi run test-pixi-build test
92+
run: pixi run -e test-pixi-build test
9293

9394
prek:
9495
name: Prek CI

0 commit comments

Comments
 (0)