2019-04-19 12:13:53 +02:00
|
|
|
version: 1.0.{build}
|
|
|
|
branches:
|
|
|
|
only:
|
2019-07-13 12:31:16 +02:00
|
|
|
- master
|
2019-04-19 12:13:53 +02:00
|
|
|
image: Visual Studio 2017
|
|
|
|
platform: Any CPU
|
|
|
|
clone_depth: 1
|
|
|
|
init:
|
|
|
|
- cmd: ''
|
|
|
|
install:
|
|
|
|
- cmd: >-
|
|
|
|
git submodule update --init --recursive
|
|
|
|
|
|
|
|
set QTDIR=C:\Qt\5.11\msvc2017_64
|
|
|
|
|
|
|
|
set PATH=%PATH%;%QTDIR%\bin
|
|
|
|
|
|
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
|
|
|
|
build_script:
|
|
|
|
- cmd: >-
|
|
|
|
curl -fsS -o openssl.7z https://pajlada.se/files/openssl.7z
|
|
|
|
|
|
|
|
7z x openssl.7z
|
|
|
|
|
|
|
|
dir
|
|
|
|
|
|
|
|
mkdir build
|
|
|
|
|
|
|
|
cd build
|
|
|
|
|
|
|
|
qmake ../chatterino.pro BOOST_DIRECTORY="C:\Libraries\boost_1_64_0" BOOST_LIB_SUFFIX="lib64-msvc-14.1" OPENSSL_DIRECTORY="%APPVEYOR_BUILD_FOLDER%\openssl" DEFINES+="CHATTERINO_NIGHTLY_VERSION_STRING=\\\"$$system(git describe --always)-$$system(git rev-list master --count)\\\""
|
|
|
|
|
|
|
|
set cl=/MP
|
|
|
|
|
|
|
|
nmake /S /NOLOGO
|
|
|
|
|
|
|
|
git clone https://github.com/pajlada/chatterino2-dlls.git
|
|
|
|
|
|
|
|
mkdir Chatterino2
|
|
|
|
|
|
|
|
cp ../openssl/bin/libcrypto*.dll ../openssl/bin/libssl*.dll Chatterino2/
|
|
|
|
|
|
|
|
cp chatterino2-dlls/*.dll Chatterino2/
|
|
|
|
|
|
|
|
windeployqt release/chatterino.exe --release --no-compiler-runtime --no-translations --no-opengl-sw --dir Chatterino2/
|
|
|
|
|
|
|
|
cp release/chatterino.exe Chatterino2/
|
|
|
|
|
2019-05-19 15:01:28 +02:00
|
|
|
7z a chatterino-windows-x86-64.zip Chatterino2/
|
2019-04-19 12:13:53 +02:00
|
|
|
artifacts:
|
2019-05-19 15:04:41 +02:00
|
|
|
- path: build/chatterino-windows-x86-64.zip
|
|
|
|
name: chatterino
|
2019-04-19 12:13:53 +02:00
|
|
|
deploy:
|
|
|
|
- provider: GitHub
|
2019-05-19 15:01:28 +02:00
|
|
|
tag: nightly-build
|
|
|
|
release: nightly-build
|
2019-04-19 12:13:53 +02:00
|
|
|
description: 'nightly v$(appveyor_build_version) built $(APPVEYOR_REPO_COMMIT_TIMESTAMP)\nLast change: $(APPVEYOR_REPO_COMMIT_MESSAGE) \n$(APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED)'
|
|
|
|
auth_token:
|
|
|
|
secure: sAJzAbiQSsYZLT+byDar9u61X0E9o35anaPMSFkOzdHeDFHjx1kW4cDP/4EEbxhx
|
2019-05-19 15:01:28 +02:00
|
|
|
repository: Chatterino/chatterino2
|
|
|
|
artifact: build/chatterino-windows-x86-64.zip
|
2019-04-19 12:13:53 +02:00
|
|
|
prerelease: true
|
|
|
|
force_update: true
|
|
|
|
on:
|
2019-07-13 12:31:16 +02:00
|
|
|
branch: master
|