mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-15 05:25:08 +00:00
Fix continuous integration workflow
This commit is contained in:
6
.github/workflows/core-build-playerbots.yml
vendored
6
.github/workflows/core-build-playerbots.yml
vendored
@@ -16,15 +16,15 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
# the result of the matrix will be the combination of all attributes, so we get os*compiler builds
|
# the result of the matrix will be the combination of all attributes, so we get os*compiler builds
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-20.04
|
- os: ubuntu-22.04
|
||||||
c_compiler: clang
|
c_compiler: clang
|
||||||
cpp_compiler: clang++
|
cpp_compiler: clang++
|
||||||
build_type: Release
|
build_type: Release
|
||||||
- os: ubuntu-20.04
|
- os: ubuntu-22.04
|
||||||
c_compiler: gcc
|
c_compiler: gcc
|
||||||
cpp_compiler: g++
|
cpp_compiler: g++
|
||||||
build_type: Release
|
build_type: Release
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-24.04
|
||||||
c_compiler: gcc
|
c_compiler: gcc
|
||||||
cpp_compiler: g++
|
cpp_compiler: g++
|
||||||
build_type: Release
|
build_type: Release
|
||||||
|
|||||||
6
.github/workflows/core-build.yml
vendored
6
.github/workflows/core-build.yml
vendored
@@ -16,15 +16,15 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
# the result of the matrix will be the combination of all attributes, so we get os*compiler builds
|
# the result of the matrix will be the combination of all attributes, so we get os*compiler builds
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-20.04
|
- os: ubuntu-22.04
|
||||||
c_compiler: clang
|
c_compiler: clang
|
||||||
cpp_compiler: clang++
|
cpp_compiler: clang++
|
||||||
build_type: Release
|
build_type: Release
|
||||||
- os: ubuntu-20.04
|
- os: ubuntu-22.04
|
||||||
c_compiler: gcc
|
c_compiler: gcc
|
||||||
cpp_compiler: g++
|
cpp_compiler: g++
|
||||||
build_type: Release
|
build_type: Release
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-24.04
|
||||||
c_compiler: gcc
|
c_compiler: gcc
|
||||||
cpp_compiler: g++
|
cpp_compiler: g++
|
||||||
build_type: Release
|
build_type: Release
|
||||||
|
|||||||
9
.github/workflows/macos_build.yml
vendored
9
.github/workflows/macos_build.yml
vendored
@@ -1,10 +1,9 @@
|
|||||||
name: macos-build
|
name: macos-build
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches: [ "Playerbot" ]
|
||||||
- 'master'
|
|
||||||
pull_request:
|
pull_request:
|
||||||
types: ['labeled', 'opened', 'synchronize', 'reopened']
|
branches: [ "Playerbot" ]
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.head_ref }} || concat(${{ github.ref }}, ${{ github.workflow }})
|
group: ${{ github.head_ref }} || concat(${{ github.ref }}, ${{ github.workflow }})
|
||||||
@@ -19,10 +18,6 @@ jobs:
|
|||||||
- macos-12
|
- macos-12
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
name: ${{ matrix.os }}
|
name: ${{ matrix.os }}
|
||||||
if: |
|
|
||||||
github.repository == 'azerothcore/azerothcore-wotlk'
|
|
||||||
&& !github.event.pull_request.draft
|
|
||||||
&& (github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'run-build') || github.event.label.name == 'run-build')
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Cache
|
- name: Cache
|
||||||
|
|||||||
9
.github/workflows/windows_build.yml
vendored
9
.github/workflows/windows_build.yml
vendored
@@ -1,10 +1,9 @@
|
|||||||
name: windows-build
|
name: windows-build
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches: [ "Playerbot" ]
|
||||||
- 'master'
|
|
||||||
pull_request:
|
pull_request:
|
||||||
types: ['labeled', 'opened', 'synchronize', 'reopened']
|
branches: [ "Playerbot" ]
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.head_ref }} || concat(${{ github.ref }}, ${{ github.workflow }})
|
group: ${{ github.head_ref }} || concat(${{ github.ref }}, ${{ github.workflow }})
|
||||||
@@ -20,10 +19,6 @@ jobs:
|
|||||||
name: ${{ matrix.os }}
|
name: ${{ matrix.os }}
|
||||||
env:
|
env:
|
||||||
BOOST_ROOT: C:\local\boost_1_82_0
|
BOOST_ROOT: C:\local\boost_1_82_0
|
||||||
if: |
|
|
||||||
github.repository == 'liyunfan1223/azerothcore-wotlk'
|
|
||||||
&& !github.event.pull_request.draft
|
|
||||||
&& (github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'run-build') || github.event.label.name == 'run-build')
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: ccache
|
- name: ccache
|
||||||
|
|||||||
Reference in New Issue
Block a user