-
Notifications
You must be signed in to change notification settings - Fork 300
27 lines (25 loc) · 811 Bytes
/
pixi.yml
File metadata and controls
27 lines (25 loc) · 811 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Pixi
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.job }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
# Sample Pixi usage.
# It can be extended to run any configuration with major compilers/architectures.
name: Pixi ${{ matrix.sys.compiler }} - ${{ matrix.sys.preset }}
runs-on: ubuntu-latest
strategy:
matrix:
sys:
- { compiler: "gcc-15", preset: "dev-avx2" }
- { compiler: "clang-21", preset: "dev-sse2" }
steps:
- name: Checkout xsimd
uses: actions/checkout@v3
- uses: prefix-dev/setup-pixi@v0.9.3
with:
pixi-version: v0.59.0
cache: true
- name: Run test
run: pixi run -e ${{ matrix.sys.compiler }} test ${{ matrix.sys.preset }}