KShare/AppVeyor/appveyor.yml

33 lines
1.2 KiB
YAML
Raw Normal View History

2017-07-07 13:02:00 +02:00
environment:
QTDIR: C:\Qt\5.9\mingw53_32
2017-07-08 11:22:42 +02:00
platform: x86
2017-07-07 13:02:00 +02:00
build_script:
- dir
- mkdir build
- cd build
- set PATH=%PATH%;%QTDIR%\bin;C:\Qt\Tools\mingw530_32\bin;C:\MinGW\msys\1.0\bin
- git submodule update --init --recursive
2017-07-08 11:13:02 +02:00
- curl -kLO https://ffmpeg.zeranoe.com/builds/win64/dev/ffmpeg-3.3.2-win64-dev.zip
- 7z x ffmpeg-3.3.2-win64-dev.zip
2017-07-08 11:17:16 +02:00
- set FFMPEG_DEV_PATH=%CD%\ffmpeg-3.3.2-win64-dev
2017-07-08 11:13:02 +02:00
- curl -kLO https://ffmpeg.zeranoe.com/builds/win64/shared/ffmpeg-3.3.2-win64-shared.zip
- 7z x ffmpeg-3.3.2-win64-shared.zip
2017-07-08 11:17:16 +02:00
- set FFMPEG_SHARED_PATH=%cd%\ffmpeg-3.3.2-win64-shared
2019-05-07 17:23:39 +02:00
- curl -v -L --http1.1 --tlsv1.2 "https://downloads.sourceforge.net/project/qtav/depends/QtAV-depends-windows-x86+x64.7z" -o av.7z
2017-07-07 13:02:00 +02:00
- 7z x av.7z > NUL
2017-07-08 11:13:02 +02:00
- xcopy ffmpeg-3.3.2-win64-shared\* %QTDIR% /e /i /Y
- xcopy ffmpeg-3.3.2-win64-dev\* %QTDIR% /e /i /Y
2017-07-08 11:19:30 +02:00
- xcopy QtAV-depends-windows-x86+x64\* %QTDIR% /e /i /Y
2017-07-08 10:57:50 +02:00
- qmake CONFIG+=nopkg ../KShare.pro
2017-07-09 21:04:21 +02:00
- mingw32-make.exe -j%NUMBER_OF_PROCESSORS%
2017-10-02 17:43:25 +02:00
- copy src\release\kshare.exe ..\KShare.exe
2017-07-07 13:02:00 +02:00
- cd ..
2017-07-08 11:41:41 +02:00
- bash AppVeyor\make_installer.sh
2017-07-07 13:02:00 +02:00
artifacts:
- path: KShare.exe
2017-07-07 22:41:10 +02:00
name: Shared link
2017-07-07 13:02:00 +02:00
- path: installer.exe
2017-07-07 22:41:10 +02:00
name: Installer
2017-07-08 11:33:17 +02:00
- path: portable.zip
name: Portable version