-
Notifications
You must be signed in to change notification settings - Fork 9
61 lines (48 loc) · 1.47 KB
/
build.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: Build
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
steps:
# setup
- uses: actions/checkout@v3
with:
submodules: true
- uses: microsoft/[email protected]
- uses: ilammy/msvc-dev-cmd@v1
- name: Download premake5
run: |
curl.exe -o premake5.zip -L https://github.com/premake/premake-core/releases/download/v5.0.0-beta2/premake-5.0.0-beta2-windows.zip
tar -xf premake5.zip
- name: Download libraries
run: |
curl -o lib.zip https://files.theindra.eu/files/lib.zip
tar -xf lib.zip
- name: Generate project files
run: .\premake5 vs2022
# compile
- name: Build Anniversary
run: MSBuild /p:Configuration=Release /p:Platform=TRAE
- name: Build Underworld
run: MSBuild /p:Configuration=Release /p:Platform=TR8
- name: Build Legend
run: MSBuild /p:Configuration=Release /p:Platform=TR7
# upload
- uses: actions/upload-artifact@v3
with:
name: Anniversary
path: |
bin/TRAE/Release/TRAE-Menu-Hook.asi
bin/TRAE/Release/TRAE-Menu-Hook.pdb
- uses: actions/upload-artifact@v3
with:
name: Underworld
path: |
bin/TR8/Release/TR8-Menu-Hook.asi
bin/TR8/Release/TR8-Menu-Hook.pdb
- uses: actions/upload-artifact@v3
with:
name: Legend
path: |
bin/TR7/Release/TR7-Menu-Hook.asi
bin/TR7/Release/TR7-Menu-Hook.pdb