Skip to content

Commit d04a197

Browse files
committed
Try .appveyor.yml skip_commits ALL
1 parent e7e585c commit d04a197

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.appveyor.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
version: 1.0.{build}
2+
image:
3+
- Visual Studio 2017
4+
test: off
5+
skip_commits:
6+
message: /.*/ # Skip ALL commits.
7+
skip_branch_with_pr: true
8+
build:
9+
parallel: true
10+
platform:
11+
- x86
12+
environment:
13+
matrix:
14+
- PYTHON: 36
15+
CONFIG: Debug
16+
install:
17+
- ps: |
18+
$env:CMAKE_GENERATOR = "Visual Studio 15 2017"
19+
if ($env:PLATFORM -eq "x64") { $env:PYTHON = "$env:PYTHON-x64" }
20+
$env:PATH = "C:\Python$env:PYTHON\;C:\Python$env:PYTHON\Scripts\;$env:PATH"
21+
python -W ignore -m pip install --upgrade pip wheel
22+
python -W ignore -m pip install pytest numpy --no-warn-script-location pytest-timeout
23+
- ps: |
24+
Start-FileDownload 'https://gitlab.com/libeigen/eigen/-/archive/3.3.7/eigen-3.3.7.zip'
25+
7z x eigen-3.3.7.zip -y > $null
26+
$env:CMAKE_INCLUDE_PATH = "eigen-3.3.7;$env:CMAKE_INCLUDE_PATH"
27+
build_script:
28+
- cmake -G "%CMAKE_GENERATOR%" -A "%CMAKE_ARCH%"
29+
-DCMAKE_CXX_STANDARD=14
30+
-DPYBIND11_WERROR=ON
31+
-DDOWNLOAD_CATCH=ON
32+
-DCMAKE_SUPPRESS_REGENERATION=1
33+
.
34+
- set MSBuildLogger="C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
35+
- cmake --build . --config %CONFIG% --target pytest -- /m /v:m /logger:%MSBuildLogger%
36+
- cmake --build . --config %CONFIG% --target cpptest -- /m /v:m /logger:%MSBuildLogger%
37+
on_failure: if exist "tests\test_cmake_build" type tests\test_cmake_build\*.log*

0 commit comments

Comments
 (0)