diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-02-03 12:12:04 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-02-03 12:12:04 +0900 |
commit | c62180d910cc23b5360bbb0807d792f876f195a6 (patch) | |
tree | 656b744af4155b7b7c5f53e643367873d294bdde /.appveyor.yml | |
parent | b34368907cba52954849bfb0266e119e5563eeb7 (diff) | |
parent | ffb8233d1b6ac54e37391e1949697ba8f6828f47 (diff) | |
download | libquotient-c62180d910cc23b5360bbb0807d792f876f195a6.tar.gz libquotient-c62180d910cc23b5360bbb0807d792f876f195a6.zip |
Merge branch 'master' into kitsune-gtad
Diffstat (limited to '.appveyor.yml')
-rw-r--r-- | .appveyor.yml | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 00000000..410ad12e --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,46 @@ +image: Visual Studio 2015 + +environment: + #DEPLOY_DIR: libqmatrixclient-%APPVEYOR_BUILD_VERSION% + matrix: + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 + QTDIR: C:\Qt\5.9\msvc2017_64 + VCVARS: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Auxiliary\\Build\\vcvars64.bat" + PLATFORM: + MAKETOOL: cmake + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 + QTDIR: C:\Qt\5.9\msvc2017_64 + VCVARS: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Auxiliary\\Build\\vcvars64.bat" + PLATFORM: + MAKETOOL: qmake + - QTDIR: C:\Qt\5.9\msvc2015 + VCVARS: "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\vcvarsall.bat" + PLATFORM: x86 + MAKETOOL: cmake + +init: +- call "%QTDIR%\bin\qtenv2.bat" +- set PATH=C:\Qt\Tools\QtCreator\bin;%PATH% +- call "%VCVARS%" %platform% +- cd /D "%APPVEYOR_BUILD_FOLDER%" + +before_build: +- git submodule update --init --recursive +- if %MAKETOOL% == cmake cmake -G "NMake Makefiles JOM" -H. -Bbuild -DCMAKE_CXX_FLAGS="/EHsc /W3" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX="%DEPLOY_DIR%" + +build_script: +- if %MAKETOOL% == cmake cmake --build build +- if %MAKETOOL% == qmake qmake && jom + +#after_build: +#- cmake --build build --target install +#- 7z a libqmatrixclient.zip "%DEPLOY_DIR%\" + +# Uncomment this to connect to the AppVeyor build worker +#on_finish: +# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) + +test: off + +#artifacts: +#- path: libqmatrixclient.zip |