-
-
Notifications
You must be signed in to change notification settings - Fork 90
37 lines (29 loc) · 877 Bytes
/
windows.yml
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
name: Windows Build
on: [push, pull_request]
jobs:
build:
runs-on: windows-2022
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Generate Solution
run: cmake -S ./ -B ./build
- name: Build Debug
working-directory: ${{env.GITHUB_WORKSPACE}}
continue-on-error: true
run: cmake --build ./build
- name: Upload Debug Artifact
uses: actions/upload-artifact@v2
with:
name: TerraForge3D Windows Debug Build
path: build\Debug
- name: Build Release
working-directory: ${{env.GITHUB_WORKSPACE}}
continue-on-error: true
run: cmake --build ./build --config=Release
- name: Upload Release Artifact
uses: actions/upload-artifact@v2
with:
name: TerraForge3D Windows Release Build
path: build\Release