tag:help.appveyor.com,2012-11-13:/discussions/questions/46199-multi-project-build-with-different-build-platforms
AppVeyor: Discussion
2020-04-03T18:47:41Z
tag:help.appveyor.com,2012-11-13:Comment/48051745
2020-01-31T10:04:59Z
2020-01-31T10:05:00Z
Multi-project build with different build platforms
<div><p>Update. This config seemed to work. One minor annoyance is the list of build jobs, it shows</p>
<ul>
<li>DirectX</li>
<li>DirectX</li>
<li>OpenGL</li>
<li>OpenGL</li>
</ul>
<p>It would be nice to see which configuration it's using.</p>
<pre>
<code>version: 1.0.{build}
install:
- ps: >-
$source = "https://github.com/MonoGame/MonoGame/releases/download/v3.7.1/MonoGameSetup.exe"
$output = "MonoGameSetup.exe"
Start-FileDownload $source
Start-Process -Wait -FilePath $output /S
configuration:
- Release
- Debug
environment:
matrix:
# DirectX Job
- job_name: DirectX
project_name: MonoTest.DirectX
platform: x86
# OpenGL Job
- job_name: OpenGL
project_name: MonoTest.OpenGL
platform: AnyCPU
matrix:
fast_finish: true
build:
project: $(project_name)/$(project_name).csproj
parallel: true
verbosity: minimal
test: off</code>
</pre></div>
Matt
tag:help.appveyor.com,2012-11-13:Comment/48051745
2020-01-31T21:43:16Z
2020-01-31T21:43:16Z
Multi-project build with different build platforms
<div><p>You can enumerate all configurations explicitly instead:</p>
<pre>
<code>version: 1.0.{build}
install:
- ps: >-
$source = "https://github.com/MonoGame/MonoGame/releases/download/v3.7.1/MonoGameSetup.exe"
$output = "MonoGameSetup.exe"
Start-FileDownload $source
Start-Process -Wait -FilePath $output /S
environment:
matrix:
- job_name: DirectX, Debug
project_name: MonoTest.DirectX
platform: x86
configuration: Debug
- job_name: OpenGL, Debug
project_name: MonoTest.OpenGL
platform: AnyCPU
configuration: Debug
- job_name: DirectX, Release
project_name: MonoTest.DirectX
platform: x86
configuration: Release
- job_name: OpenGL, Release
project_name: MonoTest.OpenGL
platform: AnyCPU
configuration: Release
matrix:
fast_finish: true
build:
project: $(project_name)/$(project_name).csproj
parallel: true
verbosity: minimal
test: off</code>
</pre></div>
Feodor Fitsner