Merge remote-tracking branch 'upstream/master' into test-staging #844
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: pch-build | |
| on: | |
| push: | |
| branches: | |
| - 'master' | |
| - 'test-staging' | |
| pull_request: | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| concurrency: | |
| # One concurrency group per workflow + ref. | |
| # | |
| # - PRs use `refs/pull/<PR_NUMBER>/merge`, so new commits cancel older | |
| # in-progress runs for the same PR. | |
| # - A merge does NOT cancel the PR's own runs: this group is keyed on | |
| # refs/pull/<N>/merge and the master push on refs/heads/master, so they | |
| # never share a group. See the cancel-pr-runs-on-close workflow. | |
| # - Branch pushes are isolated by ref. | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| actions: write | |
| contents: read | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| include: | |
| - os: ubuntu-24.04 | |
| compiler: | |
| CC: clang-18 | |
| CXX: clang++-18 | |
| - os: ubuntu-26.04 | |
| compiler: | |
| CC: clang-20 | |
| CXX: clang++-20 | |
| runs-on: ${{ matrix.os }} | |
| name: ${{ matrix.os }}-${{ matrix.compiler.CC }}-pch | |
| if: github.repository == 'mod-playerbots/azerothcore-wotlk' && !github.event.pull_request.draft | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: ./.github/actions/linux-build | |
| with: | |
| CC: ${{ matrix.compiler.CC }} | |
| CXX: ${{ matrix.compiler.CXX }} | |
| pch: true | |
| modules: true # optional: include modules in PCH build |