Merge branch 'master' into Playerbot

This commit is contained in:
Yunfan Li
2024-06-07 22:28:03 +08:00
23 changed files with 18805 additions and 250 deletions

38
.github/labeler.yml vendored
View File

@@ -1,54 +1,54 @@
file-cpp:
- changed-files:
- any-glob-to-any-file:
- src/**/*.cpp
- src/**/*.h
- deps/**/*.cpp
- deps/**/*.h
- 'src/**/*.cpp'
- 'src/**/*.h'
- 'deps/**/*.cpp'
- 'deps/**/*.h'
DB:
- changed-files:
- any-glob-to-any-file: data/**/*.sql
- any-glob-to-any-file: 'data/**/*.sql'
CORE:
- all:
- changed-files:
- any-glob-to-any-file: 'src/**/*'
- all-globs-to-all-files:
- '!src/server/scripts/*'
- '!src/tests/*'
- '!src/server/scripts/**/*'
- '!src/test/**/*'
Script:
- changed-files:
- any-glob-to-any-file:
- src/server/scripts/**/*.cpp
- src/server/scripts/**/*.h
- 'src/server/scripts/**/*.cpp'
- 'src/server/scripts/**/*.h'
UnitTests:
- changed-files:
- any-glob-to-any-file: src/test/**/*
- any-glob-to-any-file: 'src/test/**/*'
Documentation:
- changed-files:
- any-glob-to-any-file: ./*.md
- any-glob-to-any-file: '*.md'
Bash:
- changed-files:
- any-glob-to-any-file:
- ./*.sh
- apps/**/*.sh
- conf/**/*.sh
- deps/**/*.sh
- modules/**/*.sh
- '*.sh'
- 'apps/**/*.sh'
- 'conf/**/*.sh'
- 'deps/**/*.sh'
- 'modules/**/*.sh'
CMake:
- changed-files:
- any-glob-to-any-file: ./*.cmake
- any-glob-to-any-file: '*.cmake'
Workflow:
- changed-files:
- any-glob-to-any-file: .github/workflows/*
- any-glob-to-any-file: '.github/workflows/*'
Batch:
- changed-files:
- any-glob-to-any-file: apps/**/*.bat
- any-glob-to-any-file: 'apps/**/*.bat'

View File

@@ -19,22 +19,6 @@ jobs:
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
- os: ubuntu-24.04
compiler:
CC: clang-18

View File

@@ -16,30 +16,10 @@ jobs:
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
- os: ubuntu-24.04
compiler:
CC: clang-18
CXX: clang++-18
- os: ubuntu-24.04
compiler:
CC: gcc-14
CXX: g++-14
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }}-${{ matrix.compiler }}-pch
env:

View File

@@ -8,7 +8,7 @@ jobs:
import-pending:
strategy:
fail-fast: false
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
permissions: write-all
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
steps:

View File

@@ -4,7 +4,7 @@ on:
jobs:
triage:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
permissions: write-all
if: github.repository == 'azerothcore/azerothcore-wotlk'
steps:

View File

@@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
# the result of the matrix will be the combination of all attributes, so we get os*compiler builds
os: [ubuntu-20.04]
os: [ubuntu-24.04]
compiler: [clang]
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }}-${{ matrix.compiler }}