Backed out changeset 5c8bf24bb247 (bug 1923942) for causing generate failures. CLOSED...
[gecko.git] / third_party / function2 / appveyor.yml
blobacd6dc21731f9005ea7c8e135d96c4a1dc2d3abc
1 image:
2   - Visual Studio 2017
3   - Visual Studio 2019
5 environment:
6   matrix:
7     - FU2_WITH_NO_EXCEPTIONS: OFF
8       FU2_WITH_CPP_LATEST: OFF
9     - FU2_WITH_NO_EXCEPTIONS: ON
10       FU2_WITH_CPP_LATEST: OFF
11     - FU2_WITH_NO_EXCEPTIONS: OFF
12       FU2_WITH_CPP_LATEST: ON
13     - FU2_WITH_NO_EXCEPTIONS: ON
14       FU2_WITH_CPP_LATEST: ON
16 platform:
17   - x64
19 clone_script:
20   - cmd: git clone -q --branch=%APPVEYOR_REPO_BRANCH% https://github.com/%APPVEYOR_REPO_NAME%.git %APPVEYOR_BUILD_FOLDER%
21   - cmd: cd %APPVEYOR_BUILD_FOLDER%
22   - cmd: git checkout -qf %APPVEYOR_REPO_COMMIT%
23   - cmd: git submodule update --init --recursive
25 before_build:
26   - cmd: >
27          cmake -H. -Bbuild -A%PLATFORM%
28          -DFU2_WITH_NO_EXCEPTIONS=%FU2_WITH_NO_EXCEPTIONS%
29          -DFU2_WITH_CPP_LATEST=%FU2_WITH_CPP_LATEST%
31 build_script:
32   - cmd: >
33          cmake --build build --config Debug --target ALL_BUILD
34          -- /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
35          /verbosity:minimal /maxcpucount:2 /nologo
36   - cmd: >
37          cmake --build build --config Release --target ALL_BUILD
38          -- /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
39          /verbosity:minimal /maxcpucount:2 /nologo
41 test_script:
42   - cmd: cd build
43   - cmd: ctest -C Debug -V .
44   - cmd: ctest -C Release -V .