PDF tiling patterns: colour-through-base fix, BBox clip, registry ded… #3058
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: tidy | |
| on: push | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| env: | |
| CCACHE_DIR: ${{ github.workspace }}/ccache | |
| CCACHE_MAXSIZE: 1G | |
| CCACHE_KEY_SUFFIX: r1 | |
| CONAN_HOME: ${{ github.workspace }}/.conan2 | |
| CONAN_KEY_SUFFIX: r1 | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - { os: ubuntu-24.04, build_profile: ubuntu-24.04-clang-18, host_profile: ubuntu-24.04-clang-18 } | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - name: checkout conan-odr-index | |
| run: git submodule update --init --depth 1 conan-odr-index | |
| - name: ubuntu install ccache | |
| if: runner.os == 'Linux' | |
| run: | | |
| sudo apt install ccache | |
| ccache -V | |
| - name: macos install ccache | |
| if: runner.os == 'macOS' | |
| run: | | |
| brew install ccache | |
| ccache -V | |
| - run: clang-tidy --version | |
| - name: setup python 3.14 | |
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6 | |
| with: | |
| python-version: 3.14 | |
| - name: install python dependencies | |
| run: pip install --upgrade pip conan | |
| - name: cache conan | |
| uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 | |
| with: | |
| path: ${{ env.CONAN_HOME }} | |
| key: conan-${{ matrix.host_profile }}-${{ env.CONAN_KEY_SUFFIX }} | |
| restore-keys: | | |
| conan-${{ matrix.host_profile }}- | |
| - name: export conan-odr-index | |
| run: python conan-odr-index/scripts/conan_export_all_packages.py --selection-config conan-odr-index/defaults.yaml | |
| - name: conan config | |
| run: conan config install .github/config/conan | |
| - name: cache ccache | |
| uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 | |
| with: | |
| path: ${{ env.CCACHE_DIR }} | |
| key: ccache-${{ matrix.host_profile }}-${{ env.CCACHE_KEY_SUFFIX }} | |
| restore-keys: | | |
| ccache-${{ matrix.host_profile }}- | |
| - name: conan install | |
| run: > | |
| conan install . | |
| --lockfile conan.lock | |
| --profile:host '${{ matrix.host_profile }}' | |
| --profile:build '${{ matrix.build_profile }}' | |
| --build missing | |
| - name: cmake | |
| run: > | |
| cmake -S . -B build | |
| -DCMAKE_TOOLCHAIN_FILE="conan_toolchain.cmake" | |
| -DCMAKE_BUILD_TYPE=Release | |
| -DODR_CLANG_TIDY=ON | |
| - name: clang-tidy | |
| run: cmake --build build |