-
Notifications
You must be signed in to change notification settings - Fork 2
47 lines (38 loc) · 1.14 KB
/
ci.yaml
File metadata and controls
47 lines (38 loc) · 1.14 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
47
name: Toshi
on: [push]
jobs:
win:
env:
PREMAKE_VERSION: 5.0.0-beta8
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 vs2026 --arch=x86 --renderer=DX8
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2
- name: Build the whole solution for Debug
run: msbuild './OpenBarnyard.slnx' /p:Configuration=Debug /p:PlatformToolset=v143
- name: Publish Artifact
uses: actions/upload-artifact@v4
with:
name: Toshi Binaries
path: bin
- name: Update Auto Release
uses: andelf/nightly-release@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: nightly
name: 'OpenBarnyard Automatic Release $$'
prerelease: true
body: 'Automatic releases are being uploaded after any new commit.'
files: |
./bin/Debug_Win32_x86_DX8/OpenBarnyard/OpenBarnyard.exe