forked from ReactiveDrop/reactivedrop_public_src
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (39 loc) · 1.34 KB
/
Copy pathbuild-release.yml
File metadata and controls
46 lines (39 loc) · 1.34 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
name: Build release
on:
workflow_dispatch:
push:
branches:
- 'fix/**'
- 'feat/**'
- 'dev/**'
# GitHub Actions usage is FREE for both public repositories and self-hosted runners.
# We can use it to build our project and do some automated builds and in future quality tests.
# https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions
jobs:
release:
name: build release
runs-on: windows-2025-vs2026
timeout-minutes: 30
steps:
#checkout project
- uses: actions/checkout@v4
# setup msbuild
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2
# server.dll
- name: Build server.dll
working-directory: src/game/server
run: MSBuild.exe swarm_sdk_server.vcxproj -property:Configuration=Release -property:Platform=Win32
# client.dll
- name: Build client.dll
working-directory: src/game/client
run: MSBuild.exe swarm_sdk_client.vcxproj -property:Configuration=Release -property:Platform=Win32
# store artifacts
# make sure retention is low, this can become huge otherwise
- name: Store build
uses: actions/upload-artifact@v4
with:
name: Release
path: |
reactivedrop/bin/server.dll
reactivedrop/bin/client.dll