-
Notifications
You must be signed in to change notification settings - Fork 347
Expand file tree
/
Copy pathci-macos-linux-windows-pixi.yml
More file actions
48 lines (40 loc) · 1.19 KB
/
ci-macos-linux-windows-pixi.yml
File metadata and controls
48 lines (40 loc) · 1.19 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: CI - MacOS/Linux/Windows via Pixi
on:
push:
branches:
- master
pull_request:
paths:
- 'pixi*'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
sofa-pixi:
name: ${{ matrix.os }} - Env ${{ matrix.environment }} ${{ matrix.build_type }} ${{ matrix.compiler }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, macos-15-intel, windows-latest]
environment: [supported-plugins]
build_type: [Release]
steps:
- uses: actions/checkout@v4
- uses: prefix-dev/setup-pixi@v0.8.10
with:
cache: false
environments: ${{ matrix.environment }}
- name: Build SOFA [MacOS/Linux/Windows]
shell: bash -el {0}
env:
SOFA_BUILD_TYPE: ${{ matrix.build_type }}
run: |
pixi run -e ${{ matrix.environment }} build
- name: Testing - Run SOFA in batch mode [MacOS/Linux/Windows]
shell: bash -el {0}
env:
SOFA_BUILD_TYPE: ${{ matrix.build_type }}
run: |
pixi run -e ${{ matrix.environment }} runSofa -g batch