Skip to content

Use underscores in pixi task names #31

Use underscores in pixi task names

Use underscores in pixi task names #31

Workflow file for this run

name: CI macOS
on:
push:
branches:
- "**"
paths-ignore:
- "**/website/**"
pull_request:
branches:
- "**"
paths-ignore:
- "**/website/**"
jobs:
momentum:
name: momentum-${{ matrix.platform }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: macos-latest
platform: mac-arm
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up pixi
uses: prefix-dev/[email protected]
with:
cache: true
- name: Build and test Momentum
run: |
pixi run test
- name: Install Momentum and Build hello_world
run: |
pixi run install
pixi run cmake \
-S momentum/examples/hello_world \
-B momentum/examples/hello_world/build \
-DCMAKE_BUILD_TYPE=Release
pixi run cmake --build momentum/examples/hello_world/build
pymomentum:
name: pymomentum-${{ matrix.platform }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: macos-latest
platform: mac-arm
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up pixi
uses: prefix-dev/[email protected]
with:
cache: true
- name: Build PyMomentum
run: |
pixi run build_pymomentum