-
Notifications
You must be signed in to change notification settings - Fork 112
40 lines (35 loc) · 780 Bytes
/
auto_build.yml
File metadata and controls
40 lines (35 loc) · 780 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
36
37
38
39
40
name: Build Project
on:
workflow_dispatch:
push:
branches:
- main
- cs2-recode
# - auto-build # testing
paths:
- '**/*.sln'
- '**/*.cpp'
- '**/*.hpp'
- '**/*.c'
- '**/*.h'
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Set up MSBuild
uses: microsoft/setup-msbuild@v1
- name: Build solution
env:
VCPKG_ROOT: ${{ env.VCPKG_ROOT }}
run: msbuild cs2-external-esp.sln /p:Configuration=Release
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: build-artifacts
path: |
x64/Release/*