mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
* fix(CI/PCH): revert ubuntu-22.04 to gcc12, add ubuntu-24.04 with gcc14 * also update nopch workflow * Update core-build-nopch.yml * Update core-build-pch.yml
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
name: pch-build
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
pull_request:
|
|
types: ['opened', 'synchronize', 'reopened']
|
|
|
|
concurrency:
|
|
group: ${{ github.head_ref }} || concat(${{ github.ref }}, ${{ github.workflow }})
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- os: ubuntu-20.04
|
|
compiler:
|
|
CC: gcc-10
|
|
CXX: g++-10
|
|
- os: ubuntu-20.04
|
|
compiler:
|
|
CC: clang-12
|
|
CXX: clang++-12
|
|
- os: ubuntu-22.04
|
|
compiler:
|
|
CC: clang-15
|
|
CXX: clang++-15
|
|
- os: ubuntu-22.04
|
|
compiler:
|
|
CC: gcc-12
|
|
CXX: g++-12
|
|
runs-on: ${{ matrix.os }}
|
|
name: ${{ matrix.os }}-${{ matrix.compiler.CC }}-pch
|
|
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: ./.github/actions/linux-build
|
|
with:
|
|
CC: ${{ matrix.compiler.CC }}
|
|
CXX: ${{ matrix.compiler.CXX }}
|
|
pch: true
|