Skip to content

Commit

Permalink
add pixi based CI
Browse files Browse the repository at this point in the history
  • Loading branch information
olivier-roussel committed Feb 19, 2025
1 parent e1c926a commit 531fb92
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/macos-linux-windows-pixi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: CI - MacOS/Linux/Windows via Pixi

on:
push:
pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
visp-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-13]
environment: [all]
build_type: [Release]
include:
- os: windows-latest
environment: all
build_type: Release
- os: windows-latest
environment: all-clang-cl
build_type: Release

steps:
- uses: actions/checkout@v4

- uses: prefix-dev/[email protected]
with:
cache: true
environments: ${{ matrix.environment }}

- name: Build Visp [MacOS/Linux/Windows]
shell: bash -el {0}
env:
VISP_BUILD_TYPE: ${{ matrix.build_type }}
run: |
pixi run -e ${{ matrix.environment }} build
- name: Run tests [MacOS/Linux/Windows]
shell: bash -el {0}
run: |
pixi run -e ${{ matrix.environment }} test

0 comments on commit 531fb92

Please sign in to comment.