-
Notifications
You must be signed in to change notification settings - Fork 111
129 lines (129 loc) · 4.23 KB
/
PR-builds.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
name: Build Packages
on: [push, pull_request, workflow_dispatch]
jobs:
Build-Windows-32bit-VS2019:
name: 32-bit Windows On VS2019
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- uses: microsoft/[email protected]
with:
vs-version: '[16.0, 17.0)'
- run: msbuild -m "engine/compilers/VisualStudio 2019/Torque 2D.sln" /p:Configuration=Debug /p:Platform=win32
- run: msbuild -m "engine/compilers/VisualStudio 2019/Torque 2D.sln" /p:Configuration=Release /p:Platform=win32
- uses: actions/upload-artifact@v2
with:
name: Torque2D_Windows_x86_32bit_VS2019
path: |
.
! .git/
! engine/
Build-Windows-64bit-VS2019:
name: 64-bit Windows On VS2019
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- uses: microsoft/[email protected]
with:
vs-version: '[16.0, 17.0)'
msbuild-architecture: x64
- run: msbuild -m "engine/compilers/VisualStudio 2019/Torque 2D.sln" /p:Configuration=Debug /p:Platform=x64
- run: msbuild -m "engine/compilers/VisualStudio 2019/Torque 2D.sln" /p:Configuration=Release /p:Platform=x64
- uses: actions/upload-artifact@v2
with:
name: Torque2D_Windows_x86_64bit_VS2019
path: |
.
! .git/
! engine/
Build-Windows-32bit-VS2022:
name: 32-bit Windows On VS2022
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: microsoft/[email protected]
with:
vs-version: '[17.0, 18.0)'
- run: msbuild -m "engine/compilers/VisualStudio 2022/Torque 2D.sln" /p:Configuration=Debug /p:Platform=win32
- run: msbuild -m "engine/compilers/VisualStudio 2022/Torque 2D.sln" /p:Configuration=Release /p:Platform=win32
- uses: actions/upload-artifact@v2
with:
name: Torque2D_Windows_x86_32bit_VS2022
path: |
.
! .git/
! engine/
Build-Windows-64bit-VS2022:
name: 64-bit Windows On VS2022
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: microsoft/[email protected]
with:
vs-version: '[17.0, 18.0)'
msbuild-architecture: x64
- uses: ChristopheLav/windows-sdk-install@v1
with:
version-sdk: 22621
features: 'OptionId.UWPCPP,OptionId.DesktopCPParm64'
- run: msbuild -m "engine/compilers/VisualStudio 2022/Torque 2D.sln" /p:Configuration=Debug /p:Platform=x64
- run: msbuild -m "engine/compilers/VisualStudio 2022/Torque 2D.sln" /p:Configuration=Release /p:Platform=x64
- uses: actions/upload-artifact@v2
with:
name: Torque2D_Windows_x86_64bit_VS2022
path: |
.
! .git/
! engine/
Build-Linux-32Bit:
name: Build package for 32-bit x86 Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: cd engine/compilers/Make-32bit/ && make
- uses: actions/upload-artifact@v2
with:
name: Torque2D_Linux_x86_32bit
path: |
.
! .git/
! engine/
Build-Linux-64bit:
name: Build package for 64-bit x86 Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: cd engine/compilers/Make-64bit/ && make
- uses: actions/upload-artifact@v2
with:
name: Torque2D_Linux_x86_64bit
path: |
.
! .git/
! engine/
Build-MacOS:
name: Build package for MacOS
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- run: cd engine/compilers/Xcode && xcodebuild -project Torque2D.xcodeproj
- uses: actions/upload-artifact@v2
with:
name: Torque2D_MacOS
path: |
.
! .git/
! engine/
Build-iOS:
name: Build package for iOS
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- run: cd engine/compilers/Xcode_iOS && xcodebuild CODE_SIGNING_ALLOWED=no -project Torque2D.xcodeproj
- uses: actions/upload-artifact@v2
with:
name: Torque2D_iOS
path: |
.
! .git/
! engine/