Skip to content

Commit

Permalink
Appveyor setup (#10)
Browse files Browse the repository at this point in the history
Windows build CI
  • Loading branch information
vookimedlo committed Nov 24, 2017
1 parent 5da823b commit fe6e603
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 2 deletions.
35 changes: 35 additions & 0 deletions .appveyor.yml
@@ -0,0 +1,35 @@
# https://VookiImageViewer.cz

image: Visual Studio 2017

version: build{build}

environment:
matrix:
- example: VookiImageViewer
name: win64
platform: x64
qt: msvc2017_64

init:
- set QTDIR=c:\Qt\5.9\%qt%
- set Qt5Core_DIR=%QTDIR%\lib\cmake\Qt5Core\
- set Qt5Gui_DIR=%QTDIR%\lib\cmake\Qt5Gui\
- set Qt5Widgets_DIR=%QTDIR%\lib\cmake\Qt5Widgets\
- set ORIGPATH=%PATH%
- set PATH=%QTDIR%\bin;;C:\Program Files (x86)\CMake\bin;%PATH%

before_build:
- qmake -v
- cmake --version

build_script:
- cd \projects\vooki-image-viewer\build\cmake\windows
- generate.bat
- cd \projects\vooki-image-viewer\build\cmake\windows\build
- msbuild Project.sln /p:Configuration=Release /p:Platform=%platform%

test: off

matrix:
fast_finish: true
6 changes: 4 additions & 2 deletions README.md
Expand Up @@ -96,8 +96,10 @@ Unix binaries are not prebuilt and can be easily built from sources.
## Builds
All binaries could be built easily. For your convenience, travis-ci is used to continuously check if current source code is buildable on Linux and MacOS.

And the result is: [![Build Status](https://travis-ci.org/vookimedlo/vooki-image-viewer.svg?branch=master)](https://travis-ci.org/vookimedlo/vooki-image-viewer)

And the result is:
- Linux and MacOS: [![Build Status](https://travis-ci.org/vookimedlo/vooki-image-viewer.svg?branch=master)](https://travis-ci.org/vookimedlo/vooki-image-viewer)
- Windows: [![Build status](https://ci.appveyor.com/api/projects/status/a0ots8hy6d8lutdv/branch/master?svg=true)](https://ci.appveyor.com/project/vookimedlo/vooki-image-viewer/branch/master)

-----------------

Homepage: [https://vookiimageviewer.cz/][4]
Expand Down

0 comments on commit fe6e603

Please sign in to comment.