CI(Windows): bump dependencies version
This commit is contained in:
parent
c6a7032d73
commit
aa1e1b12ac
37
appveyor.yml
37
appveyor.yml
|
@ -54,24 +54,24 @@ build_script:
|
|||
- cd %APPVEYOR_BUILD_FOLDER%
|
||||
# install AOM for libavif AV1 decoding support...
|
||||
- cd 3rdparty
|
||||
#- git clone -b v3.2.0 --depth 1 https://aomedia.googlesource.com/aom
|
||||
#- git clone -b v3.6.0 --depth 1 https://aomedia.googlesource.com/aom
|
||||
#- cd aom
|
||||
#- mkdir build.libavif
|
||||
#- cd build.libavif
|
||||
#- mkdir build.aom
|
||||
#- cd build.aom
|
||||
#- cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%CMAKE_INSTALL_PREFIX% -DENABLE_DOCS=OFF -DBUILD_SHARED_LIBS=ON -DAOM_TARGET_CPU=generic -DENABLE_TESTS=OFF -DENABLE_TESTDATA=OFF -DENABLE_TOOLS=OFF -DENABLE_EXAMPLES=0
|
||||
#- cmake --build . --config Release
|
||||
#- cmake --build . --config Release --target install/strip
|
||||
- mkdir aom
|
||||
- cd aom
|
||||
- curl -fsSL -o ppkg-aom.zip https://sourceforge.net/projects/pineapple-package-manager/files/packages/mingw-w64-x86_64-windows/aom-3.2.0-2.zip
|
||||
- curl -fsSL -o ppkg-aom.zip https://sourceforge.net/projects/pineapple-package-manager/files/packages/mingw-w64-x86_64-windows/aom-3.6.0-1.zip
|
||||
- ppkg ppkg-aom.zip
|
||||
- 7z x ppkg-aom.zip LICENSE -y
|
||||
- cd %APPVEYOR_BUILD_FOLDER%
|
||||
# install libavif for avif format support of KImageFormats
|
||||
- cd %LIBAVIF%
|
||||
- curl -fsSL -o libavif-v0_10_1.zip https://github.com/AOMediaCodec/libavif/archive/v0.10.1.zip
|
||||
- 7z x libavif-v0_10_1.zip -y
|
||||
- cd libavif-0.10.1
|
||||
- curl -fsSL -o libavif-v0_11_1.zip https://github.com/AOMediaCodec/libavif/archive/v0.11.1.zip
|
||||
- 7z x libavif-v0_11_1.zip -y
|
||||
- cd libavif-0.11.1
|
||||
- mkdir build
|
||||
- cd build
|
||||
- cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%CMAKE_INSTALL_PREFIX% -DAVIF_CODEC_AOM=ON
|
||||
|
@ -91,17 +91,17 @@ build_script:
|
|||
- cd %APPVEYOR_BUILD_FOLDER%
|
||||
# build libexpat for libexiv2
|
||||
- cd %LIBEXPAT%
|
||||
- curl -fsSL -o R_2_4_8.zip https://github.com/libexpat/libexpat/archive/R_2_4_8.zip
|
||||
- 7z x R_2_4_8.zip -y
|
||||
- cd libexpat-R_2_4_8/expat/
|
||||
- curl -fsSL -o R_2_5_0.zip https://github.com/libexpat/libexpat/archive/R_2_5_0.zip
|
||||
- 7z x R_2_5_0.zip -y
|
||||
- cd libexpat-R_2_5_0/expat/
|
||||
- cmake -G "Ninja" . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%CMAKE_INSTALL_PREFIX% -DEXPAT_BUILD_EXAMPLES=OFF -DEXPAT_BUILD_TESTS=OFF -DEXPAT_BUILD_TOOLS=OFF
|
||||
- cmake --build . --target install/strip
|
||||
- cd %APPVEYOR_BUILD_FOLDER%
|
||||
# build libexiv2
|
||||
- cd %LIBEXIV2%
|
||||
- curl -fsSL -o v0.27.5.zip https://github.com/Exiv2/exiv2/archive/v0.27.5.zip
|
||||
- 7z x v0.27.5.zip -y
|
||||
- cd exiv2-0.27.5
|
||||
- curl -fsSL -o v0.27.6.zip https://github.com/Exiv2/exiv2/archive/v0.27.6.zip
|
||||
- 7z x v0.27.6.zip -y
|
||||
- cd exiv2-0.27.6
|
||||
- cmake -G "Ninja" . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%CMAKE_INSTALL_PREFIX% -DEXIV2_BUILD_SAMPLES=OFF -DEXIV2_ENABLE_WIN_UNICODE=ON
|
||||
- cmake --build . --target install/strip
|
||||
- cd %APPVEYOR_BUILD_FOLDER%
|
||||
|
@ -126,7 +126,7 @@ build_script:
|
|||
- cd bin
|
||||
- copy %APPVEYOR_BUILD_FOLDER%\LICENSE .
|
||||
- copy %CMAKE_INSTALL_PREFIX%\bin\libaom.dll
|
||||
- copy %CMAKE_INSTALL_PREFIX%\bin\libexpat.dll
|
||||
- copy %CMAKE_INSTALL_PREFIX%\bin\libexpat-1.dll
|
||||
- copy %CMAKE_INSTALL_PREFIX%\bin\libexiv2.dll
|
||||
- copy %CMAKE_INSTALL_PREFIX%\bin\libavif.dll
|
||||
- copy %CMAKE_INSTALL_PREFIX%\bin\libzlib.dll
|
||||
|
@ -138,13 +138,16 @@ build_script:
|
|||
- copy %APPVEYOR_BUILD_FOLDER%\3rdparty\aom\LICENSE License.aom.txt
|
||||
- copy %APPVEYOR_BUILD_FOLDER%\3rdparty\karchive\LICENSES\LGPL-2.0-or-later.txt License.KArchive.txt
|
||||
- copy %APPVEYOR_BUILD_FOLDER%\3rdparty\kimageformats\LICENSES\LGPL-2.1-or-later.txt License.kimageformats.txt
|
||||
- copy %LIBEXPAT%\libexpat-R_2_4_8\expat\COPYING License.expat.txt
|
||||
- copy %LIBAVIF%\libavif-0.10.1\LICENSE License.libavif.txt
|
||||
- copy %LIBEXIV2%\exiv2-0.27.5\COPYING License.exiv2.txt
|
||||
- copy %LIBEXPAT%\libexpat-R_2_5_0\expat\COPYING License.expat.txt
|
||||
- copy %LIBAVIF%\libavif-0.11.1\LICENSE License.libavif.txt
|
||||
- copy %LIBEXIV2%\exiv2-0.27.6\COPYING License.exiv2.txt
|
||||
# TODO: Qt, zlib
|
||||
- cd ..
|
||||
# for debug..
|
||||
- tree /f
|
||||
- cd %APPVEYOR_BUILD_FOLDER%
|
||||
- xcopy %CMAKE_INSTALL_PREFIX% .\cmake-prefix-copy /E /H /C /I
|
||||
|
||||
artifacts:
|
||||
- path: build\bin
|
||||
- path: cmake-prefix-copy
|
||||
|
|
Loading…
Reference in New Issue
Block a user