libressl-portable/appveyor.yml

52 lines
1.4 KiB
YAML
Raw Normal View History

2018-03-19 18:29:00 -07:00
environment:
PATH: C:\msys64\usr\bin;C:\msys64\mingw64\bin;C:\Windows\System32;C:\Windows;%PATH%
matrix:
# x86 builds
- GENERATOR: Visual Studio 14 2015
CONFIG: Release
SHARED_LIBS: ON
- GENERATOR: Visual Studio 14 2015
CONFIG: Release
SHARED_LIBS: OFF
- GENERATOR: Visual Studio 14 2015
CONFIG: Debug
SHARED_LIBS: ON
- GENERATOR: Visual Studio 14 2015
CONFIG: Debug
2018-03-20 09:51:24 -07:00
SHARED_LIBS: OFF
2018-03-19 18:29:00 -07:00
# x64 builds
- GENERATOR: Visual Studio 14 2015 Win64
CONFIG: Release
SHARED_LIBS: ON
- GENERATOR: Visual Studio 14 2015 Win64
CONFIG: Release
SHARED_LIBS: OFF
- GENERATOR: Visual Studio 14 2015 Win64
CONFIG: Debug
SHARED_LIBS: ON
- GENERATOR: Visual Studio 14 2015 Win64
CONFIG: Debug
2018-03-20 09:51:24 -07:00
SHARED_LIBS: OFF
2018-03-19 18:29:00 -07:00
init:
# update mysy2
- C:\msys64\usr\bin\bash -lc "pacman --needed --noconfirm -Sy pacman-mirrors"
- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -Sy"
- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S autoconf perl"
- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S git"
before_build:
- bash autogen.sh
- mkdir build
- cd build
2018-03-21 11:33:38 -07:00
- cmake .. -G "%GENERATOR%" -DBUILD_SHARED_LIBS=%SHARED_LIBS%
2018-03-19 18:29:00 -07:00
build_script:
- cmake --build . --config %CONFIG%
test_script:
# TODO: Determine how to run ssltest on AppVeyor
- ctest -C %CONFIG% --timeout 150 --output-on-failure -E ssltest