Add two frame equality residual #1218
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: CI - OSX/Linux via Pixi | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - 'doc/**' | |
| - 'scripts/**' | |
| - '.gitlab-ci.yml' | |
| - '.gitignore' | |
| - '**.md' | |
| - 'CITATION.cff' | |
| - 'CITATIONS.bib' | |
| pull_request: | |
| paths-ignore: | |
| - 'doc/' | |
| - 'scripts/' | |
| - '.gitlab-ci.yml' | |
| - '.gitignore' | |
| - '**.md' | |
| - 'CITATION.cff' | |
| - 'CITATIONS.bib' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| aligator-pixi: | |
| name: Standard ${{ matrix.os }} - Env ${{ matrix.environment }} ${{ matrix.build_type }} | |
| runs-on: ${{ matrix.os }} | |
| env: | |
| CCACHE_BASEDIR: "${GITHUB_WORKSPACE}" | |
| CCACHE_DIR: "${GITHUB_WORKSPACE}/.ccache" | |
| CCACHE_COMPRESS: true | |
| CCACHE_COMPRESSLEVEL: 6 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, macos-15-intel] | |
| environment: [all, all-python-oldest] | |
| build_type: [Release, Debug] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - uses: actions/cache@v4 | |
| with: | |
| path: .ccache | |
| key: ccache-macos-linux-pixi-${{ matrix.os }}-${{ matrix.build_type }}-${{ github.sha }} | |
| restore-keys: ccache-macos-linux-pixi-${{ matrix.os }}-${{ matrix.build_type }}- | |
| - uses: prefix-dev/[email protected] | |
| with: | |
| cache: true | |
| environments: ${{ matrix.environment }} | |
| - name: Clear ccache statistics | |
| run: | | |
| pixi run -e ${{ matrix.environment }} ccache -z | |
| - name: Build aligator | |
| shell: bash -l {0} | |
| env: | |
| CMAKE_BUILD_PARALLEL_LEVEL: 4 | |
| ALIGATOR_BUILD_TYPE: ${{ matrix.build_type }} | |
| run: | | |
| pixi run -e ${{ matrix.environment }} test | |
| - name: Show ccache statistics | |
| run: | | |
| pixi run -e ${{ matrix.environment }} ccache -sv | |
| aligator-pixi-build: | |
| name: Pixi build - ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| continue-on-error: True | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, macos-15-intel] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| submodules: recursive | |
| - name: Start SSH session | |
| uses: luchihoratiu/debug-via-ssh@main | |
| with: | |
| NGROK_AUTH_TOKEN: ${{ secrets.NGROK_AUTH_TOKEN }} | |
| SSH_PASS: ${{ secrets.SSH_PASS }} | |
| - uses: prefix-dev/[email protected] | |
| continue-on-error: True | |
| env: | |
| CMAKE_BUILD_PARALLEL_LEVEL: 2 | |
| with: | |
| cache: true | |
| environments: test-pixi-build | |
| - name: Test package | |
| run: | | |
| pixi run -e test-pixi-build test | |
| check: | |
| name: check-macos-linux-pixi | |
| needs: | |
| - aligator-pixi | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Decide whether the needed jobs succeeded or failed | |
| uses: re-actors/alls-green@release/v1 | |
| with: | |
| jobs: ${{ toJSON(needs) }} |