blob: 41009fe60c7b42b8dfac08b7edebe2d125e6edf5 (
plain) (
tree)
|
|
version: '{build}'
image:
- Visual Studio 2015
- Visual Studio 2017
- Visual Studio 2019
environment:
global:
python_exe: C:\Python36-x64\python.exe
install_dir: C:\Projects\install\aes-tools
matrix:
- use_asm: ON
- use_asm: OFF
platform:
- Win32
- x64
configuration:
- Debug
- Release
matrix:
fast_finish: true
exclude:
- platform: x64
use_asm: ON
# On Win32, only build Debug to speed things up:
- platform: Win32
use_asm: OFF
configuration: Release
install:
- git submodule update --init --recursive
build_script:
- cd cmake
- >-
"%python_exe%" -m project.ci.appveyor.cmake
--install "%install_dir%"
--boost "%appveyor_boost_root%"
--
-D "AES_TOOLS_ASM=%use_asm%"
after_build:
- 7z.exe a "%APPVEYOR_PROJECT_NAME%-%PLATFORM%-%CONFIGURATION%.zip" "%install_dir%"
- appveyor.exe PushArtifact "%APPVEYOR_PROJECT_NAME%-%PLATFORM%-%CONFIGURATION%.zip"
test_script:
- >-
"%python_exe%" "%APPVEYOR_BUILD_FOLDER%\test\nist.py"
--path "%install_dir%\bin"
--log "%APPVEYOR_BUILD_FOLDER%\test\nist.log"
- ps: Get-Content "$env:APPVEYOR_BUILD_FOLDER\test\nist.log" -Tail 5
- >-
"%python_exe%" "%APPVEYOR_BUILD_FOLDER%\test\cavp.py"
--path "%install_dir%\bin"
--log "%APPVEYOR_BUILD_FOLDER%\test\cavp.log"
- ps: Get-Content "$env:APPVEYOR_BUILD_FOLDER\test\cavp.log" -Tail 5
- >-
"%python_exe%" "%APPVEYOR_BUILD_FOLDER%\test\nist.py"
--path "%install_dir%\bin"
--log "%APPVEYOR_BUILD_FOLDER%\test\nist_boxes.log"
--boxes
- ps: Get-Content "$env:APPVEYOR_BUILD_FOLDER\test\nist_boxes.log" -Tail 5
- >-
"%python_exe%" "%APPVEYOR_BUILD_FOLDER%\test\cavp.py"
--path "%install_dir%\bin"
--log "%APPVEYOR_BUILD_FOLDER%\test\cavp_boxes.log"
--boxes
- ps: Get-Content "$env:APPVEYOR_BUILD_FOLDER\test\cavp_boxes.log" -Tail 5
- >-
"%python_exe%" "%APPVEYOR_BUILD_FOLDER%\test\file.py"
--path "%install_dir%\bin"
--log "%APPVEYOR_BUILD_FOLDER%\test\file.log"
- ps: Get-Content "$env:APPVEYOR_BUILD_FOLDER\test\file.log" -Tail 5
for:
# Build Release on master only to speed things up:
- branches:
except:
- master
configuration:
- Debug
- matrix:
only:
- image: Visual Studio 2015
environment:
appveyor_boost_root: C:\Libraries\boost_1_62_0
- matrix:
only:
- image: Visual Studio 2017
environment:
appveyor_boost_root: C:\Libraries\boost_1_69_0
- matrix:
only:
- image: Visual Studio 2019
environment:
appveyor_boost_root: C:\Libraries\boost_1_71_0
|