mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 09:07:19 +00:00
48 lines
1.2 KiB
YAML
48 lines
1.2 KiB
YAML
name: windows-build
|
|
on:
|
|
push:
|
|
branches: [ "master" ]
|
|
pull_request:
|
|
branches: [ "master" ]
|
|
|
|
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: 'liyunfan1223/azerothcore-wotlk'
|
|
ref: 'Playerbot'
|
|
- name: Checkout Playerbot Module
|
|
uses: actions/checkout@v3
|
|
with:
|
|
repository: 'liyunfan1223/mod-playerbots'
|
|
path: 'modules/mod-playerbots'
|
|
- name: Cache
|
|
uses: actions/cache@v3
|
|
with:
|
|
path: C:\ProgramData\chocolatey\cache
|
|
key: ccache:${{ matrix.os }}:${{ github.ref }}:${{ github.sha }}
|
|
restore-keys: |
|
|
ccache:${{ matrix.os }}:${{ github.ref }}
|
|
ccache:${{ matrix.os }}
|
|
- 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
|