This repository was archived by the owner on Oct 22, 2025. It is now read-only.
  
  
  
  
Get rid of dimension templates in SmoothCollisions #203
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: Python | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| paths: | |
| - '.github/workflows/python.yml' | |
| - 'cmake/**' | |
| - 'python/src/**' | |
| - 'python/src/CMakeLists.txt' | |
| - 'src/**' | |
| - 'CMakeLists.txt' | |
| - 'MANIFEST.in' | |
| - 'pyproject.toml' | |
| - 'setup.py' | |
| jobs: | |
| Build: | |
| name: ${{ matrix.name }} Python ${{ matrix.python-version }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] | |
| include: | |
| - os: ubuntu-latest | |
| name: Linux | |
| - os: windows-latest | |
| name: Windows | |
| - os: macOS-latest | |
| name: macOS | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/[email protected] | |
| with: | |
| fetch-depth: 10 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/[email protected] | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install Ccache (Linux) | |
| if: runner.os == 'Linux' | |
| run: | | |
| sudo apt-get install ccache | |
| echo 'CACHE_PATH=~/.cache/ccache' >> "$GITHUB_ENV" | |
| - name: Install Ccache (macOS) | |
| if: runner.os == 'macOS' | |
| run: | | |
| brew install ccache | |
| echo 'CACHE_PATH=~/Library/Caches/ccache' >> "$GITHUB_ENV" | |
| - name: Install Ccache (Windows) | |
| if: runner.os == 'Windows' | |
| run: | | |
| choco install ccache | |
| "CACHE_PATH=${env:LOCALAPPDATA}\ccache" | Out-File -FilePath $env:GITHUB_ENV -Append | |
| - name: Cache Build | |
| id: cache-build | |
| uses: actions/cache@v4 | |
| with: | |
| path: ${{ env.CACHE_PATH }} | |
| key: ${{ runner.os }}-Python${{ matrix.python-version }}-cache | |
| - name: Prepare Ccache | |
| run: | | |
| ccache --max-size=1.0G | |
| ccache -V && ccache --show-config | |
| ccache --show-stats && ccache --zero-stats | |
| - name: Build and Install | |
| run: | | |
| pip install --verbose . && ccache --show-stats | |
| - name: Tests | |
| run: | | |
| pip install -r python/tests/requirements.txt | |
| nose2 -v --pretty-assert -s python/tests |