forked from ko4life-net/ko
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (29 loc) · 957 Bytes
/
Copy pathbuild.yml
File metadata and controls
35 lines (29 loc) · 957 Bytes
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
name: Build Game and Server
on: [workflow_dispatch]
jobs:
Windows:
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
- name: Install Dependencies
shell: cmd
run: |
git submodule init src/vendor
git submodule update src/vendor
- name: Build KnightOnLine
shell: cmd
run: |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat"
cd src
msbuild Game.sln -t:Clean -t:Build -p:Configuration=Release /m
- name: Build Server
shell: cmd
run: |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat"
cd src
msbuild Server.sln -t:Clean -t:Build -p:Configuration=Release /m
- name: Upload
uses: actions/upload-artifact@v4
with:
name: x86-release
path: src/build/x86-Release/*.exe