summaryrefslogtreecommitdiffstats
path: root/third_party/function2/appveyor.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /third_party/function2/appveyor.yml
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/function2/appveyor.yml')
-rw-r--r--third_party/function2/appveyor.yml44
1 files changed, 44 insertions, 0 deletions
diff --git a/third_party/function2/appveyor.yml b/third_party/function2/appveyor.yml
new file mode 100644
index 0000000000..acd6dc2173
--- /dev/null
+++ b/third_party/function2/appveyor.yml
@@ -0,0 +1,44 @@
+image:
+ - Visual Studio 2017
+ - Visual Studio 2019
+
+environment:
+ matrix:
+ - FU2_WITH_NO_EXCEPTIONS: OFF
+ FU2_WITH_CPP_LATEST: OFF
+ - FU2_WITH_NO_EXCEPTIONS: ON
+ FU2_WITH_CPP_LATEST: OFF
+ - FU2_WITH_NO_EXCEPTIONS: OFF
+ FU2_WITH_CPP_LATEST: ON
+ - FU2_WITH_NO_EXCEPTIONS: ON
+ FU2_WITH_CPP_LATEST: ON
+
+platform:
+ - x64
+
+clone_script:
+ - cmd: git clone -q --branch=%APPVEYOR_REPO_BRANCH% https://github.com/%APPVEYOR_REPO_NAME%.git %APPVEYOR_BUILD_FOLDER%
+ - cmd: cd %APPVEYOR_BUILD_FOLDER%
+ - cmd: git checkout -qf %APPVEYOR_REPO_COMMIT%
+ - cmd: git submodule update --init --recursive
+
+before_build:
+ - cmd: >
+ cmake -H. -Bbuild -A%PLATFORM%
+ -DFU2_WITH_NO_EXCEPTIONS=%FU2_WITH_NO_EXCEPTIONS%
+ -DFU2_WITH_CPP_LATEST=%FU2_WITH_CPP_LATEST%
+
+build_script:
+ - cmd: >
+ cmake --build build --config Debug --target ALL_BUILD
+ -- /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
+ /verbosity:minimal /maxcpucount:2 /nologo
+ - cmd: >
+ cmake --build build --config Release --target ALL_BUILD
+ -- /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
+ /verbosity:minimal /maxcpucount:2 /nologo
+
+test_script:
+ - cmd: cd build
+ - cmd: ctest -C Debug -V .
+ - cmd: ctest -C Release -V .