Skip to content

Commit b571196

Browse files
committed
Reintroduce AC workflows, but disable them
2 parents 06e2e06 + 0148800 commit b571196

31 files changed

+838
-121
lines changed

.gitattributes

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,3 @@
2828

2929
# Ignore sql/* files
3030
data/sql/* linguist-documentation
31-
32-
# Only keep our forks workflows
33-
.github/workflows/*.yml merge=ours

.github/workflows/auto-merge.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ jobs:
2323
- name: Merge AzerothCore
2424
run: |
2525
git status
26-
git config merge.ours.driver true
2726
git config user.name "github-actions[bot]"
2827
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
2928
git remote add AC https://github.com/azerothcore/azerothcore-wotlk.git
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: nopch-build
2+
on: []
3+
4+
concurrency:
5+
# One concurrency group per workflow + ref.
6+
#
7+
# - PRs use `refs/pull/<PR_NUMBER>/merge`, so new commits cancel older
8+
# in-progress runs for the same PR.
9+
# - When a PR is merged, a push to the target branch starts a new group,
10+
# canceling any still-running PR CI.
11+
# - Branch pushes are isolated by ref.
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: true
14+
15+
permissions:
16+
actions: write
17+
contents: read
18+
19+
jobs:
20+
build:
21+
strategy:
22+
fail-fast: true
23+
matrix:
24+
include:
25+
- os: ubuntu-22.04
26+
compiler:
27+
CC: clang-15
28+
CXX: clang++-15
29+
- os: ubuntu-24.04
30+
compiler:
31+
CC: clang-18
32+
CXX: clang++-18
33+
- os: ubuntu-24.04
34+
compiler:
35+
CC: gcc-14
36+
CXX: g++-14
37+
runs-on: ${{ matrix.os }}
38+
name: ${{ matrix.os }}-${{ matrix.compiler.CC }}-nopch
39+
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
40+
steps:
41+
- uses: actions/checkout@v4
42+
- uses: ./.github/actions/linux-build
43+
with:
44+
CC: ${{ matrix.compiler.CC }}
45+
CXX: ${{ matrix.compiler.CXX }}
46+
pch: false
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: pch-build
2+
on: []
3+
4+
concurrency:
5+
# One concurrency group per workflow + ref.
6+
#
7+
# - PRs use `refs/pull/<PR_NUMBER>/merge`, so new commits cancel older
8+
# in-progress runs for the same PR.
9+
# - When a PR is merged, a push to the target branch starts a new group,
10+
# canceling any still-running PR CI.
11+
# - Branch pushes are isolated by ref.
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: true
14+
15+
permissions:
16+
actions: write
17+
contents: read
18+
19+
jobs:
20+
build:
21+
strategy:
22+
fail-fast: true
23+
matrix:
24+
include:
25+
- os: ubuntu-22.04
26+
compiler:
27+
CC: clang-15
28+
CXX: clang++-15
29+
- os: ubuntu-24.04
30+
compiler:
31+
CC: clang-18
32+
CXX: clang++-18
33+
runs-on: ${{ matrix.os }}
34+
name: ${{ matrix.os }}-${{ matrix.compiler.CC }}-pch
35+
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
36+
steps:
37+
- uses: actions/checkout@v4
38+
- uses: ./.github/actions/linux-build
39+
with:
40+
CC: ${{ matrix.compiler.CC }}
41+
CXX: ${{ matrix.compiler.CXX }}
42+
pch: true
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: nopch-module-build
2+
on: []
3+
4+
permissions:
5+
actions: write
6+
contents: read
7+
8+
concurrency:
9+
# One concurrency group per workflow + ref.
10+
#
11+
# - PRs use `refs/pull/<PR_NUMBER>/merge`, so new commits cancel older
12+
# in-progress runs for the same PR.
13+
# - When a PR is merged, a push to the target branch starts a new group,
14+
# canceling any still-running PR CI.
15+
# - Branch pushes are isolated by ref.
16+
group: ${{ github.workflow }}-${{ github.ref }}
17+
cancel-in-progress: true
18+
19+
jobs:
20+
build-modules:
21+
strategy:
22+
fail-fast: true
23+
matrix:
24+
include:
25+
- os: ubuntu-24.04
26+
compiler:
27+
CC: clang-18
28+
CXX: clang++-18
29+
runs-on: ${{ matrix.os }}
30+
name: ${{ matrix.os }}-${{ matrix.compiler.CC }}-nopch-modules
31+
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
32+
steps:
33+
- uses: actions/checkout@v4
34+
# This script installs a general list of modules to compile with
35+
# azerothcore. This is useful for ensuring that module compilation
36+
# functionality works.
37+
- name: Checkout modules
38+
run: bash -x ./apps/ci/ci-install-modules.sh
39+
- uses: ./.github/actions/linux-build
40+
with:
41+
CC: ${{ matrix.compiler.CC }}
42+
CXX: ${{ matrix.compiler.CXX }}
43+
modules: true
44+
pch: false
45+
maxerrors: 0
46+
keepgoing: true

0 commit comments

Comments
 (0)