mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-04 22:07:52 +00:00
# Conflicts: # .github/workflows/core-build-nopch.yml # .github/workflows/core-build-pch.yml # .github/workflows/macos_build.yml # .github/workflows/windows_build.yml # src/server/game/DataStores/DBCStores.cpp # src/server/game/Guilds/Guild.h # src/server/game/Scripting/ScriptDefines/DatabaseScript.cpp # src/server/game/Server/WorldSession.h
49 lines
1.3 KiB
YAML
49 lines
1.3 KiB
YAML
name: tools
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
pull_request:
|
|
types:
|
|
- labeled
|
|
- 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
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
fail-fast: true
|
|
matrix:
|
|
include:
|
|
- os: ubuntu-24.04
|
|
compiler:
|
|
CC: clang-18
|
|
CXX: clang++-18
|
|
runs-on: ${{ matrix.os }}
|
|
name: ${{ matrix.os }}-${{ matrix.compiler.CC }}
|
|
if: |
|
|
github.repository == 'mod-playerbots/azerothcore-wotlk' && !github.event.pull_request.draft
|
|
&& (
|
|
contains(github.event.pull_request.labels.*.name, 'run-build')
|
|
|| github.event.label.name == 'run-build'
|
|
)
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- uses: ./.github/actions/linux-build
|
|
with:
|
|
CC: ${{ matrix.compiler.CC }}
|
|
CXX: ${{ matrix.compiler.CXX }}
|
|
tools: all
|
|
pch: false
|