mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
feat(CI): add macOS to our CI (#3321)
Co-Authored-By: Meerd <meerd@users.noreply.github.com>
This commit is contained in:
22
.github/workflows/core_build.yml
vendored
22
.github/workflows/core_build.yml
vendored
@@ -52,6 +52,28 @@ jobs:
|
||||
- name: Run unit tests
|
||||
run: source ./apps/ci/ci-run-unit-tests.sh
|
||||
|
||||
mac-build:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
runs-on: macos-10.15
|
||||
name: macos-10.15
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Cache
|
||||
uses: actions/cache@v1.1.2
|
||||
with:
|
||||
path: /Users/runner/.ccache
|
||||
key: ccache:macos-10.15:${{ github.ref }}:${{ github.sha }}
|
||||
restore-keys: |
|
||||
ccache:macos-10.15:${{ github.ref }}
|
||||
ccache:macos-10.15
|
||||
- name: Configure OS
|
||||
run: source ./apps/ci/mac/ci-install.sh
|
||||
- name: Build
|
||||
run: source ./apps/ci/mac/ci-compile.sh
|
||||
- name: Run unit tests
|
||||
run: source ./apps/ci/ci-run-unit-tests.sh
|
||||
|
||||
docker-build:
|
||||
strategy:
|
||||
fail-fast: true
|
||||
|
||||
Reference in New Issue
Block a user