Use underscores in pixi task names #31
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |