mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
chore: switch to reusable module workflow (#35)
This commit is contained in:
40
.github/workflows/core_build.yml
vendored
40
.github/workflows/core_build.yml
vendored
@@ -7,40 +7,6 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
strategy:
|
uses: azerothcore/reusable-workflows/.github/workflows/core_build_modules.yml@main
|
||||||
fail-fast: false
|
with:
|
||||||
matrix:
|
module_repo: ${{ github.event.repository.name }}
|
||||||
compiler: [clang]
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
name: ${{ matrix.compiler }}
|
|
||||||
env:
|
|
||||||
COMPILER: ${{ matrix.compiler }}
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
repository: 'azerothcore/azerothcore-wotlk'
|
|
||||||
ref: 'master'
|
|
||||||
submodules: 'recursive'
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
path: 'modules/mod-eluna'
|
|
||||||
- name: Cache
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: var/ccache
|
|
||||||
key: ccache:${{ matrix.compiler }}:${{ github.ref }}:${{ github.sha }}
|
|
||||||
restore-keys: |
|
|
||||||
ccache:${{ matrix.compiler }}:${{ github.ref }}
|
|
||||||
ccache:${{ matrix.compiler }}
|
|
||||||
- name: Configure OS
|
|
||||||
run: source ./apps/ci/ci-install.sh
|
|
||||||
env:
|
|
||||||
CONTINUOUS_INTEGRATION: true
|
|
||||||
- name: Import db
|
|
||||||
run: source ./apps/ci/ci-import-db.sh
|
|
||||||
- name: Build
|
|
||||||
run: source ./apps/ci/ci-compile.sh
|
|
||||||
- name: Dry run
|
|
||||||
run: source ./apps/ci/ci-worldserver-dry-run.sh
|
|
||||||
- name: Check startup errors
|
|
||||||
run: source ./apps/ci/ci-error-check.sh
|
|
||||||
|
|||||||
Reference in New Issue
Block a user