summaryrefslogtreecommitdiffstats
path: root/appveyor.yml
diff options
context:
space:
mode:
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 8d9cc64..b1da655 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -72,11 +72,17 @@ build_script:
if ($LastExitCode -ne 0) {
throw "Exec: $ErrorMessage"
}
- & cmake --build . --config $env:configuration
+ $cmake_parallel = if ($env:generator -eq "MinGW Makefiles") {"-j2"} else {"/m"}
+ & cmake --build . --config $env:configuration -- $cmake_parallel
if ($LastExitCode -ne 0) {
throw "Exec: $ErrorMessage"
}
+
+skip_commits:
+ files:
+ - '**/*.md'
+
test_script:
- ps: |
# Only enable some builds for pull requests, the AppVeyor queue is too long.
@@ -86,7 +92,7 @@ test_script:
if ($env:generator -eq "MinGW Makefiles") {
return # No test available for MinGW
}
- & ctest -C $env:configuration --timeout 300 --output-on-failure
+ & ctest -C $env:configuration --timeout 600 --output-on-failure
if ($LastExitCode -ne 0) {
throw "Exec: $ErrorMessage"
}