Nightly CI #126
Workflow file for this run
This file contains hidden or 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: Nightly CI | |
| on: | |
| schedule: | |
| - cron: '0 3 * * *' # Runs at 03:00 UTC daily | |
| workflow_dispatch: # Allow manual trigger | |
| permissions: | |
| contents: read | |
| jobs: | |
| # ---- PyMomentum ---- | |
| # C++ Momentum jobs removed — covered per-push by ci_ubuntu (pymomentum superset) | |
| # and ci_macos (C++ only). Windows C++ covered per-push by ci_windows (pymomentum superset). | |
| pymomentum-macos: | |
| name: nightly-py-mac-arm64 | |
| runs-on: macos-latest | |
| env: | |
| CMAKE_C_COMPILER_LAUNCHER: ccache | |
| CMAKE_CXX_COMPILER_LAUNCHER: ccache | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Set up ccache | |
| uses: hendrikmuhs/ccache-action@d62db5f07c26379fc4b4e0916f098a92573c3b03 # v1.2.23 | |
| with: | |
| key: ${{ github.workflow }}-macos-latest-pymomentum | |
| - name: Install FBX SDK | |
| run: | | |
| curl -O https://damassets.autodesk.net/content/dam/autodesk/www/files/fbx202037_fbxsdk_clang_mac.pkg.tgz | |
| tar -xvf fbx202037_fbxsdk_clang_mac.pkg.tgz | |
| sudo installer -pkg fbx202037_fbxsdk_clang_macos.pkg -target / | |
| - name: Set up pixi | |
| uses: prefix-dev/setup-pixi@a09b6247153796b190642a2b53fac4241043cf6f # v0.9.5 | |
| with: | |
| cache: true | |
| - name: Build and test PyMomentum | |
| run: | | |
| MOMENTUM_BUILD_WITH_FBXSDK=ON \ | |
| pixi run test_py | |
| - name: Build Python API Doc | |
| run: | | |
| MOMENTUM_BUILD_WITH_FBXSDK=ON \ | |
| pixi run doc_py_no_build | |
| - name: Print ccache stats | |
| run: ccache -s | |
| pymomentum-ubuntu: | |
| # py312 covered per-push by ci_ubuntu; CUDA build-only moved to weekly GPU jobs | |
| name: nightly-py-py313-ubuntu | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Set up pixi | |
| uses: prefix-dev/setup-pixi@a09b6247153796b190642a2b53fac4241043cf6f # v0.9.5 | |
| with: | |
| environments: py313 | |
| cache: true | |
| - name: Build and test PyMomentum | |
| run: | | |
| pixi run -e py313 test_py | |
| pymomentum-ubuntu-arm64: | |
| name: nightly-py-py312-ubuntu-arm64 | |
| runs-on: 2-core-ubuntu-arm | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Set up pixi | |
| uses: prefix-dev/setup-pixi@a09b6247153796b190642a2b53fac4241043cf6f # v0.9.5 | |
| with: | |
| environments: py312 | |
| cache: true | |
| - name: Build and test PyMomentum | |
| run: | | |
| pixi run -e py312 test_py |