fix: correct formatting in LICENSE file #143
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 | |
| on: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| branches: [main, master] | |
| workflow_dispatch: {} | |
| jobs: | |
| python-tests: | |
| name: Python Tests (${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements-dev.txt | |
| - name: Run Python tests | |
| run: python -m pytest -q | |
| detect-changes: | |
| name: Detect C/C++ Changes | |
| runs-on: ubuntu-latest | |
| outputs: | |
| cpp: ${{ steps.filter.outputs.cpp }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Filter paths | |
| id: filter | |
| uses: dorny/paths-filter@v3 | |
| with: | |
| filters: | | |
| cpp: | |
| - 'CMakeLists.txt' | |
| - 'CMakePresets.json' | |
| - 'cmake/**' | |
| - 'libs/**' | |
| - 'apps/**' | |
| - 'include/**' | |
| - 'src/**' | |
| - '**/*.c' | |
| - '**/*.cpp' | |
| - '**/*.cxx' | |
| - '**/*.h' | |
| - '**/*.hpp' | |
| - 'vcpkg.json' | |
| - 'conanfile.py' | |
| # ── Linux / GCC & Clang ───────────────────────────────────────────────────── | |
| build-linux: | |
| needs: [python-tests, detect-changes] | |
| if: needs.detect-changes.outputs.cpp == 'true' || (github.event_name == 'push' && github.ref == 'refs/heads/main') | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| preset: [gcc-debug-static-x86_64, clang-debug-static-x86_64] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y build-essential cmake ninja-build pkg-config ccache | |
| - name: Configure & Build | |
| run: | | |
| python3 scripts/tool.py build --preset ${{ matrix.preset }} | |
| python3 scripts/tool.py build check --no-sync --preset ${{ matrix.preset }} | |
| # ── Windows / MSVC ─────────────────────────────────────────────────────────── | |
| build-windows: | |
| needs: [python-tests, detect-changes] | |
| if: needs.detect-changes.outputs.cpp == 'true' || (github.event_name == 'push' && github.ref == 'refs/heads/main') | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install dependencies | |
| run: | | |
| pip install -r requirements-dev.txt | |
| - name: Configure & Build | |
| run: | | |
| python scripts/tool.py build --preset msvc-debug-static-x64 | |
| python scripts/tool.py build check --no-sync --preset msvc-debug-static-x64 | |
| # ── macOS / AppleClang ─────────────────────────────────────────────────────── | |
| build-macos: | |
| needs: [python-tests, detect-changes] | |
| if: needs.detect-changes.outputs.cpp == 'true' || (github.event_name == 'push' && github.ref == 'refs/heads/main') | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: brew install ninja cmake | |
| - name: Configure & Build | |
| run: | | |
| python3 scripts/tool.py build --preset clang-debug-static-x86_64 | |
| python3 scripts/tool.py build check --no-sync --preset clang-debug-static-x86_64 |