Check FBX version including patch number (#123) #824
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: cpp-${{ matrix.mode == '' && 'opt' || 'dev' }}-${{ matrix.os == 'macos-latest-large' && 'mac-x86_64' || 'mac-arm64' }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-latest, macos-latest-large] | |
mode: ["", "-dev"] | |
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${{ matrix.mode }} | |
- 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: py-${{ matrix.os == 'macos-latest-large' && 'mac-x86_64' || 'mac-arm64' }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-latest, macos-latest-large] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up pixi | |
uses: prefix-dev/[email protected] | |
with: | |
cache: true | |
- name: Build and test PyMomentum | |
run: | | |
pixi run test_pymomentum |