mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
46 lines
1.1 KiB
YAML
46 lines
1.1 KiB
YAML
name: windows-build
|
|
on:
|
|
push:
|
|
branches: [ "master" ]
|
|
pull_request:
|
|
branches: [ "master" ]
|
|
|
|
concurrency:
|
|
group: "windows-build-${{ github.event.pull_request.number }}"
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
windows-build:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [windows-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
name: ${{ matrix.os }}
|
|
env:
|
|
BOOST_ROOT: C:\local\boost_1_82_0
|
|
steps:
|
|
- name: Checkout AzerothCore
|
|
uses: actions/checkout@v3
|
|
with:
|
|
repository: 'mod-playerbots/azerothcore-wotlk'
|
|
ref: 'Playerbot'
|
|
- name: Checkout Playerbot Module
|
|
uses: actions/checkout@v3
|
|
with:
|
|
repository: 'mod-playerbots/mod-playerbots'
|
|
path: 'modules/mod-playerbots'
|
|
- name: ccache
|
|
uses: hendrikmuhs/ccache-action@v1.2.13
|
|
- name: Configure OS
|
|
shell: bash
|
|
env:
|
|
CONTINUOUS_INTEGRATION: true
|
|
run: |
|
|
./acore.sh install-deps
|
|
- name: Build
|
|
shell: bash
|
|
run: |
|
|
export CTOOLS_BUILD=all
|
|
./acore.sh compiler build
|