fix(CI): cinst -> choco install, bump Qt version

This commit is contained in:
Gary Wang 2024-07-08 19:59:49 +08:00
parent 8aa68ccebd
commit 86a5e4f722
No known key found for this signature in database
GPG Key ID: 5D30A4F15EA78760

View File

@ -5,8 +5,8 @@ environment:
PACKAGE_INSTALL_ROOT: C:\projects\pir PACKAGE_INSTALL_ROOT: C:\projects\pir
PKG_CONFIG_PATH: C:\projects\pir\lib\pkgconfig PKG_CONFIG_PATH: C:\projects\pir\lib\pkgconfig
matrix: matrix:
- build_name: mingw1120_64_qt6_5 - build_name: mingw1120_64_qt6_7
QTPATH: C:\Qt\6.5\mingw_64 QTPATH: C:\Qt\6.7\mingw_64
MINGW64: C:\Qt\Tools\mingw1120_64 MINGW64: C:\Qt\Tools\mingw1120_64
install: install:
@ -21,11 +21,11 @@ install:
build_script: build_script:
# prepare # prepare
- mkdir 3rdparty - mkdir 3rdparty
- cinst ninja - choco install ninja
- cinst pkgconfiglite - choco install pkgconfiglite
# build taglib # build taglib
- cd 3rdparty - cd 3rdparty
- git clone -q https://github.com/taglib/taglib.git - git clone --recurse-submodules -q https://github.com/taglib/taglib.git
- cd taglib - cd taglib
- cmake -G "Ninja" . -DCMAKE_INSTALL_PREFIX=%PACKAGE_INSTALL_ROOT% -DBUILD_SHARED_LIBS=ON - cmake -G "Ninja" . -DCMAKE_INSTALL_PREFIX=%PACKAGE_INSTALL_ROOT% -DBUILD_SHARED_LIBS=ON
- cmake --build . - cmake --build .