-
Notifications
You must be signed in to change notification settings - Fork 20
223 lines (204 loc) · 6.92 KB
/
buildDependants.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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
name: Build dependants
on:
push:
branches:
- '51X'
pull_request:
branches:
- '51X'
jobs:
Bizhawk:
runs-on: windows-2019
steps:
# Checkout relevant code
- name: Checkout current build target
uses: actions/checkout@v2
with:
path: 'RTCV'
- name: Checkout Bizhawk
uses: actions/checkout@v2
with:
repository: 'redscientistlabs/Bizhawk-Vanguard'
ref: 'master'
path: 'Bizhawk-Vanguard'
# Setup Tooling
- name: Setup MSBuild.exe
uses: microsoft/[email protected]
# Restore packages for all targets
- name: Restore packages in current build target
run: msbuild /t:restore '.\RTCV\RTCV.sln'
- name: Restore packages in Bizhawk
run: msbuild /t:restore '.\Bizhawk-Vanguard\BizHawk.sln'
# Build Bizhawk
- name: Build Bizhawk-Vanguard
run: msbuild '.\Bizhawk-Vanguard\BizHawk.sln'
FileStub:
runs-on: windows-2019
steps:
# Checkout relevant code
- name: Checkout current build target
uses: actions/checkout@v2
with:
path: 'RTCV'
- name: Checkout FileStub
uses: actions/checkout@v2
with:
repository: 'redscientistlabs/FileStub-Vanguard'
ref: 'master'
path: 'FileStub-Vanguard'
# Setup Tooling
- name: Setup MSBuild.exe
uses: microsoft/[email protected]
# Restore packages for all targets
- name: Restore packages in current build target
run: msbuild /t:restore '.\RTCV\RTCV.sln'
- name: Restore packages in FileStub
run: msbuild /t:restore '.\FileStub-Vanguard\FileStub-Vanguard.sln'
# Build FileStub
- name: Build FileStub-Vanguard
run: msbuild '.\FileStub-Vanguard\FileStub-Vanguard.sln'
ProcessStub:
runs-on: windows-2019
steps:
# Checkout relevant code
- name: Checkout current build target
uses: actions/checkout@v2
with:
path: 'RTCV'
- name: Checkout ProcessStub
uses: actions/checkout@v2
with:
repository: 'redscientistlabs/ProcessStub-Vanguard'
ref: 'master'
path: 'ProcessStub-Vanguard'
# Setup Tooling
- name: Setup MSBuild.exe
uses: microsoft/[email protected]
# Restore packages for all targets
- name: Restore packages in current build target
run: msbuild /t:restore '.\RTCV\RTCV.sln'
- name: Restore packages in ProcessStub
run: msbuild /t:restore '.\ProcessStub-Vanguard\ProcessStub-Vanguard.sln'
# Build ProcessStub
- name: Build ProcessStub-Vanguard
run: msbuild '.\ProcessStub-Vanguard\ProcessStub-Vanguard.sln'
melonDS:
runs-on: windows-2019
steps:
# Setup tooling
- name: Setup MSBuild.exe
uses: microsoft/[email protected]
# Setup RTCV
- name: Checkout current build target
uses: actions/checkout@v2
with:
path: 'RTCV'
- name: Restore packages in RTCV
run: msbuild /t:restore '.\RTCV\RTCV.sln'
- name: Build RTCV
run: msbuild '.\RTCV\RTCV.sln'
# Build melonDS
- name: Checkout melonDS-Vanguard
uses: actions/checkout@v2
with:
repository: 'redscientistlabs/melonDS-Vanguard'
ref: 'Vanguard'
path: 'melonDS-Vanguard'
- name: Create build directory
run: |
New-Item -ItemType directory -Path ${{runner.workspace}}\RTCV\melonDS-Vanguard\build
- name: Configure
run: |
cd ${{runner.workspace}}\RTCV\melonDS-Vanguard\build
cmake .. -DENABLE_LTO=false -DDONT_COPY_FIRMWARE=true -DDONT_BUILD_EXTRA_SDL_CODE=true -DCI_BUILD_SHARED_LIBS=true -DCI_INCLUDE_EXTRA_LIBUI_LIBS=true
- name: Build melonDS-Vanguard
run: |
cd ${{runner.workspace}}\RTCV\melonDS-Vanguard\build
msbuild melonDS.sln
dolphin:
# dolphin has build errors with VS2019 _and_ VS2022
# error C2855: command-line option '/std:c++' inconsistent with precompiled header
# See https://github.com/scowalt/dolphin-vanguard/actions/runs/3773017863/jobs/6414258994
if: ${{ false }}
runs-on: windows-2019
steps:
- name: Checkout dolphin
uses: actions/checkout@v2
with:
repository: 'redscientistlabs/dolphin-vanguard'
ref: 'Vanguard'
path: 'dolphin-vanguard'
submodules: 'true'
- name: Checkout current build target
uses: actions/checkout@v2
with:
path: 'RTCV'
- name: Setup MSBuild.exe
uses: microsoft/[email protected]
- name: Restore packages in RTCV
run: msbuild /t:restore '.\RTCV\RTCV.sln'
- name: Restore packages in dolphin-vanguard
run: msbuild /t:restore '.\dolphin-vanguard\Source\dolphin-emu.sln'
- name: Build with MSBuild
run: msbuild '.\dolphin-vanguard\Source\dolphin-emu.sln' /property:Configuration=Release /property:Platform=x64 /p:TreatWarningAsError=false
pcsx2:
runs-on: windows-2019
# pcsx2 builds aren't working. I suspect that submodules got messed up
# the last time `pcsx2-Vanguard` merged from upstream, but there
# could be additional issues as well.
if: ${{ false }}
steps:
- name: Checkout pcsx2
uses: actions/checkout@v2
with:
repository: 'redscientistlabs/pcsx2-Vanguard'
ref: 'Vanguard'
path: 'pcsx2-Vanguard'
submodules: 'recursive'
- name: Checkout current build target
uses: actions/checkout@v2
with:
path: 'RTCV'
- name: Setup MSBuild.exe
uses: microsoft/[email protected]
- name: Restore packages in RTCV
run: msbuild /t:restore '.\RTCV\RTCV.sln'
- name: Restore packages in pcsx2-Vanguard
run: msbuild /t:restore '.\pcsx2-Vanguard\PCSX2_suite.sln'
- name: Build with MSBuild
run: msbuild '.\pcsx2-Vanguard\PCSX2_suite.sln' /property:Configuration=Debug /property:Platform=Win32
citra:
# Our citra fork can't yet build on Visual Studio 2022
# It requires QtCore prebuilt binaries, which are not available in our current fork
runs-on: windows-2019
steps:
# RTCV
- name: Checkout current build target
uses: actions/checkout@v2
with:
path: 'RTCV'
- name: Setup MSBuild.exe
uses: microsoft/[email protected]
- name: Restore packages in RTCV
run: msbuild /t:restore '.\RTCV\RTCV.sln'
- name: Build RTCV
run: msbuild '.\RTCV\RTCV.sln'
# citra
- name: Checkout citra
uses: actions/checkout@v2
with:
repository: 'redscientistlabs/citra-vanguard'
ref: 'vanguard'
path: 'citra-vanguard'
submodules: 'recursive'
- name: Create Citra build directory
working-directory: ${{runner.workspace}}\RTCV\citra-vanguard
run: New-Item -ItemType Directory -Path build
- name: Citra prebuild
run: |
cd citra-vanguard\build
cmake .. -DCITRA_DONT_BUILD_DEDICATED_ROOM=true -DCITRA_DONT_BUILD_TESTS=true -DENABLE_SDL2=false -DCITRA_USE_BUNDLED_QT=1
- name: Citra build
run: |
cd citra-vanguard\build
msbuild citra.sln