https://github.com/ElsevierSoftwareX/SOFTX_2019_219
Revision 7074213a08a47e8777b17c7545d442db9f171698 authored by Konrad Werys on 14 August 2018, 12:43:39 UTC, committed by Konrad Werys on 14 August 2018, 12:43:39 UTC
1 parent 8fa8e50
Tip revision: 7074213a08a47e8777b17c7545d442db9f171698 authored by Konrad Werys on 14 August 2018, 12:43:39 UTC
no-phase case works. Some fixes to test images
no-phase case works. Some fixes to test images
Tip revision: 7074213
appveyor.yml
#------------------------------------#
# OxShmolli2 #
#------------------------------------#
#version: '0.9.{build}'
os:
- Visual Studio 2017
# - Visual Studio 2015
init:
- git config --global core.autocrlf input
# Set build version to git commit-hash
- ps: Update-AppveyorBuild -Version "$($env:APPVEYOR_REPO_BRANCH) - $($env:APPVEYOR_REPO_COMMIT)"
environment:
EXE_EXTENDED_NAME: OxShmolli2Exe_%APPVEYOR_REPO_TAG_NAME%_Windows_%PLATFORM%
install:
- git submodule update --init --recursive
platform:
- Win32
- x64
configuration:
# - Debug
- Release
before_build:
- cmake . -Bbin -A%PLATFORM% -DUSE_NR2=OFF -DUSE_NR3=OFF -DUSE_PRIVATE_NR2=OFF
build:
project: bin\OxShmolli2.sln # path to Visual Studio solution or project
parallel: true # enable MSBuild parallel builds
verbosity: normal # MSBuild verbosity level {quiet|minimal|normal|detailed}
after_build:
# install the files
- cd bin
- cmake --build . --target INSTALL
- cd ..
- mkdir deployment
test_script:
# TODO: should I add sth like this? https://github.com/mgerhardy/caveexpress/blob/master/appveyor.yml
# - bin\tests\%CONFIGURATION%\OxShmolli2Tests.exe
- cd bin\install\tests
- OxShmolli2Tests.exe
- cd ..\..\..
artifacts:
- path: deployment\*.*
before_deploy:
- echo "Ready to deploy?"
# FOR DEPLOYMENT
# change the name of the exe, zip it and copy the zip to the deployment folders
- cd bin\%CONFIGURATION%\
- copy OxShmolli2Exe.exe %EXE_EXTENDED_NAME%.exe
- 7z a %EXE_EXTENDED_NAME%.zip %EXE_EXTENDED_NAME%.exe # zip
- cd ..\..
- copy bin\%CONFIGURATION%\%EXE_EXTENDED_NAME%.zip deployment\%EXE_EXTENDED_NAME%.zip
deploy:
# release: OxShmolli2-v$(appveyor_build_version)
description: 'Release description'
provider: GitHub
auth_token:
secure: Nmbbo4JCoK5AuN1ugWmE/c8/BAXlpz8Lb7piWDcAAWnT/GFa7fwL20GbXyU9AZSn
draft: false
prerelease: false
force_update: true
on:
appveyor_repo_tag: true # deploy on tag push only
configuration: Release
Computing file changes ...