Skip to content

build: Minor tweaks and fixes #51

build: Minor tweaks and fixes

build: Minor tweaks and fixes #51

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: "Build server (MSBuild)"
on:
push:
branches:
- master
paths:
- '.github/workflows/build_msbuild_server.yml'
- 'Server.slnx'
pull_request:
branches:
- master
paths:
- '.github/workflows/build_msbuild_server.yml'
- 'Server.slnx'
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
BUILD_CONFIGURATION: [Debug, Release]
BUILD_PLATFORM: [Win32, x64]
name: "Server: ${{ matrix.BUILD_CONFIGURATION }} - ${{ matrix.BUILD_PLATFORM }}"
steps:
- uses: actions/checkout@v4
with:
submodules: 'false'
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Build server
run: msbuild /m /p:Configuration="${{matrix.BUILD_CONFIGURATION}}" /p:Platform="${{matrix.BUILD_PLATFORM}}" Server.slnx