mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-07 15:28:02 +00:00
various build corrections
This commit is contained in:
23
.github/workflows/macos_build.yml
vendored
23
.github/workflows/macos_build.yml
vendored
@@ -1,13 +1,14 @@
|
||||
name: macos-build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "Playerbot"
|
||||
- "test-staging" # added
|
||||
- "test-staging"
|
||||
pull_request:
|
||||
branches:
|
||||
- "Playerbot"
|
||||
- "test-staging" # added
|
||||
- "test-staging"
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
@@ -27,7 +28,16 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
name: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Checkout AzerothCore
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Checkout Playerbot Module
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: mod-playerbots/mod-playerbots
|
||||
ref: ${{ github.ref_name == 'Playerbot' && 'master' || 'test-staging' }}
|
||||
path: modules/mod-playerbots
|
||||
|
||||
- name: Cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
@@ -36,15 +46,22 @@ jobs:
|
||||
restore-keys: |
|
||||
ccache:${{ matrix.os }}:${{ github.ref_name }}
|
||||
ccache:${{ matrix.os }}
|
||||
|
||||
- name: reset ccache stats
|
||||
shell: bash
|
||||
run: ccache -z || true
|
||||
|
||||
- name: Install latest bash
|
||||
run: brew install bash
|
||||
|
||||
- name: Configure OS
|
||||
shell: bash
|
||||
run: source ./acore.sh install-deps
|
||||
|
||||
- name: Build
|
||||
shell: bash
|
||||
run: source ./apps/ci/mac/ci-compile.sh
|
||||
|
||||
- name: ccache stats
|
||||
shell: bash
|
||||
run: ccache -s || true
|
||||
Reference in New Issue
Block a user