Skip to content

Commit c0113cd

Browse files
committed
Add sample pixi CI
1 parent 30c10c2 commit c0113cd

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/pixi.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CMake integration
2+
on: [push, pull_request]
3+
4+
concurrency:
5+
group: ${{ github.workflow }}-${{ github.job }}-${{ github.ref }}
6+
cancel-in-progress: true
7+
8+
jobs:
9+
build:
10+
# Sample Pixi usage.
11+
# It can be extended to run any configuration with major compilers/architectures.
12+
name: Pixi ${{ matrix.sys.compiler }} - ${{ matrix.sys.preset }}
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
sys:
17+
- { compiler: "gcc-15", preset: "dev-avx2" }
18+
- { compiler: "clang-21", preset: "dev-sse2" }
19+
steps:
20+
- name: Checkout xsimd
21+
uses: actions/checkout@v3
22+
- uses: prefix-dev/[email protected]
23+
with:
24+
pixi-version: v0.59.0
25+
cache: true
26+
- name: Run test
27+
run: pixi run -e ${{ matrix.sys.compiler }} test ${{ matrix.sys.preset }}

0 commit comments

Comments
 (0)