forked from Open-KO/KnightOnline
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (34 loc) · 1 KB
/
Copy pathbuild_server.yml
File metadata and controls
46 lines (34 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# 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
on:
push:
branches:
- master
paths:
- '.github/workflows/build_server.yml'
pull_request:
branches:
- master
paths:
- '.github/workflows/build_server.yml'
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
BUILD_CONFIGURATION: [Debug, Release]
BUILD_PLATFORM: [Win32]
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
working-directory: ${{env.GITHUB_WORKSPACE}}
run: msbuild /p:Configuration="${{matrix.BUILD_CONFIGURATION}}" /p:Platform="${{matrix.BUILD_PLATFORM}}" Server.sln