Skip to content

Windows Build

Windows Build #171

name: Windows Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
fail-fast: false
runs-on: windows-2019
name: Windows Server 2019
steps:
- uses: actions/checkout@v2
- name: Configure Windows
run: choco install --no-progress openssl
- name: Checkout Submodules
shell: bash
run: |
git submodule init && git submodule update
- name: Build Project
shell: bash
run: |
mkdir -p build && cd build
cmake .. -DBUILD_TOOLS:BOOL=1 -DBUILD_MANGOSD:BOOL=1 -DBUILD_REALMD:BOOL=1 -DSOAP:BOOL=1 -DSCRIPT_LIB_ELUNA:BOOL=1 -DSCRIPT_LIB_SD3:BOOL=1 -DPLAYERBOTS:BOOL=0 -DUSE_STORMLIB:BOOL=1
cmake --build . --config Release --parallel 4