-
Notifications
You must be signed in to change notification settings - Fork 5
38 lines (29 loc) · 826 Bytes
/
ci.yaml
File metadata and controls
38 lines (29 loc) · 826 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
name: Toshi
on: [push]
jobs:
win:
env:
PREMAKE_VERSION: 5.0.0-beta1
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@master
with:
submodules: recursive
- name: Setup premake
uses: abel0b/setup-premake@v2.3
with:
version: ${{ env.PREMAKE_VERSION }}
- name: Premake
run: premake5 vs2022 --arch=x86 --renderer=DX11
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.1
- name: Build OpenToshi for release
run: msbuild './Toshi (DX11).sln' -property:Configuration=Release
- name: Run UnitTests
run: .\bin\Release_Windows_x86\UnitTests\UnitTests.exe
- name: Publish Artifact
uses: actions/upload-artifact@v4
with:
name: Toshi Binaries
path: bin