Use al::getenv to get the router env vars
[openal-soft.git] / appveyor.yml
blobe9c52519a084b91ab7fe09ea8e62618a24a820ed
1 version: 1.19.1.{build}
3 environment:
4     matrix:
5       - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
6         GEN: "Visual Studio 14 2015"
7         ARCH: Win32
8         CFG: Release
9       - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
10         GEN: "Visual Studio 14 2015"
11         ARCH: x64
12         CFG: Release
13       - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
14         GEN: "Visual Studio 15 2017"
15         ARCH: x64
16         CFG: Release
18 install:
19     # Remove the VS Xamarin targets to reduce AppVeyor specific noise in build
20     # logs.  See also http://help.appveyor.com/discussions/problems/4569
21     - del "C:\Program Files (x86)\MSBuild\14.0\Microsoft.Common.targets\ImportAfter\Xamarin.Common.targets"
23 build_script:
24     - cd build
25     - cmake -G "%GEN%" -A %ARCH% -DALSOFT_BUILD_ROUTER=ON -DALSOFT_REQUIRE_WINMM=ON -DALSOFT_REQUIRE_DSOUND=ON -DALSOFT_REQUIRE_WASAPI=ON -DALSOFT_EMBED_HRTF_DATA=YES ..
26     - cmake --build . --config %CFG% --clean-first