1 Star 0 Fork 0

Mikasoi/vlc-qt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.appveyor.yml 2.94 KB
一键复制 编辑 原始数据 按行查看 历史
version: 1.2.0.{build}
branches:
except:
- project/travis
- project/docs
- platform/mobile
environment:
vlcqt_version: 1.2.0
vlc_version: 2.2.6
matrix:
# MSVC x86
- name: win32
platform: amd64_x86
qt: 5.9\msvc2015
suffix: msvc2015
# MSVC x64
- name: win64
platform: amd64
qt: 5.9\msvc2015_64
suffix: msvc2015
# MinGW
- name: win32
platform: mingw
qt: 5.9\mingw53_32
suffix: mingw
init:
- if %platform%==mingw set PATH=%PATH:C:\Program Files\Git\usr\bin;=%
- if %platform%==mingw set PATH=C:\Qt\Tools\mingw530_32\bin;%PATH%
- set PATH=C:\Qt\%qt%\bin;%PATH%
- if not %platform%==mingw call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %platform%
- if not %platform%==mingw (set makefiles="NMake Makefiles") else (set makefiles="MinGW Makefiles")
- if %APPVEYOR_REPO_TAG%==true (set nogitinfo=ON) else (set nogitinfo=OFF)
clone_folder: c:\dev\vlc-qt
install:
- cd c:\dev
- md install
- md dependencies
- cd dependencies
- ps: $vlcdl = 'http://download.videolan.org/vlc/' + $env:vlc_version + '/' + $env:name + '/vlc-' + $env:vlc_version + '-' + $env:name + '.7z'
- ps: Start-FileDownload $vlcdl -FileName vlc.7z
- 7z x vlc.7z > NUL
- move vlc-* vlc-%name%
- cd vlc-%name%
- if not %platform%==mingw call ..\..\vlc-qt\scripts\win\vlc_symbols_%name%.bat
before_build:
- cd c:\dev\vlc-qt
- md build-release
- md build-debug
build_script:
- cd build-release
- cmake .. -G %makefiles% -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="c:/dev/install" -DCI=ON -DNO_GIT=%nogitinfo% -DBUILD_TESTS=ON -DLIBVLC_LIBRARY="c:/dev/dependencies/vlc-%name%/sdk/lib/libvlc.lib" -DLIBVLCCORE_LIBRARY="c:/dev/dependencies/vlc-%name%/sdk/lib/libvlccore.lib" -DLIBVLC_INCLUDE_DIR="c:/dev/dependencies/vlc-%name%/sdk/include"
- if not %platform%==mingw (nmake) else (mingw32-make)
- if not %platform%==mingw (nmake install) else (mingw32-make install)
- cd ..
- cd build-debug
- cmake .. -G %makefiles% -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="c:/dev/install" -DCI=ON -DNO_GIT=%nogitinfo% -DLIBVLC_LIBRARY="c:/dev/dependencies/vlc-%name%/sdk/lib/libvlc.lib" -DLIBVLCCORE_LIBRARY="c:/dev/dependencies/vlc-%name%/sdk/lib/libvlccore.lib" -DLIBVLC_INCLUDE_DIR="c:/dev/dependencies/vlc-%name%/sdk/include"
- if not %platform%==mingw (nmake) else (mingw32-make)
- if not %platform%==mingw (nmake install) else (mingw32-make install)
after_build:
- cd c:\dev\install
- if %APPVEYOR_REPO_TAG%==true (set buildname=%vlcqt_version%) else (set buildname=%vlcqt_version%_build%APPVEYOR_BUILD_NUMBER%_%APPVEYOR_REPO_COMMIT:~0,7%)
- 7z a ..\vlc-qt\VLC-Qt_%buildname%_%name%_%suffix%.7z bin lib include
- cd c:\dev\vlc-qt
test_script:
- cd c:\dev\vlc-qt\build-release
- if not %platform%==mingw (nmake test) else (mingw32-make test)
- cd c:\dev\vlc-qt
artifacts:
- path: '*.7z'
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mikasoi/vlc-qt.git
git@gitee.com:mikasoi/vlc-qt.git
mikasoi
vlc-qt
vlc-qt
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385