diff options
author | David Neto <dneto@google.com> | 2017-05-15 11:42:24 -0400 |
---|---|---|
committer | David Neto <dneto@google.com> | 2017-05-15 11:42:24 -0400 |
commit | 0e9246000b05a93cc6cfbfc744b973caf9be4499 (patch) | |
tree | 7e95fd9ea07eb109f2b706073a1873595b80f03e | |
parent | 872e22302cc0efa1459ab609c51157da243e5756 (diff) | |
download | effcee-0e9246000b05a93cc6cfbfc744b973caf9be4499.tar.gz |
Add Appveyor config
-rw-r--r-- | .appveyor.yml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 0000000..db25491 --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,39 @@ +# Windows Build Configuration for AppVeyor +# http://www.appveyor.com/docs/appveyor-yml + +# version format +version: "{build}" + +configuration: + - Debug + - Release + +branches: + only: + - master + +# scripts that run after cloning repository +install: + - git clone --depth=1 https://github.com/google/googletest.git third_party/googletest + - git clone --depth=1 https://github.com/google/re2.git third_party/re2 + +build: + parallel: true # enable MSBuild parallel builds + verbosity: minimal + +build_script: + - mkdir build && cd build + - cmake .. -DCMAKE_INSTALL_PREFIX=install -DRE2_BUILD_TESTING=OFF + - cmake --build . --target install --config %CONFIGURATION% + +test_script: + - ctest -C %CONFIGURATION% --output-on-failure + +notifications: + - provider: Email + to: + - dneto@google.com + subject: 'Effcee Windows Build #{{buildVersion}}: {{status}}' + on_build_success: false + on_build_failure: true + on_build_status_changed: true |