ci: minor tweaks

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
This commit is contained in:
Yuhang Zhao 2022-12-04 14:53:03 +08:00
parent 7daa1facc7
commit 7e6b629396
1 changed files with 4 additions and 5 deletions

View File

@ -17,8 +17,7 @@ jobs:
name: Build name: Build
strategy: strategy:
matrix: matrix:
qt-version: [5.15.2, 6.4.0] qt-version: [5.15.2, 6.4.1]
build-type: [Debug, Release]
library-type: [shared, static] library-type: [shared, static]
platform: [windows-latest, ubuntu-latest, macos-latest] platform: [windows-latest, ubuntu-latest, macos-latest]
include: include:
@ -66,6 +65,6 @@ jobs:
run: | run: |
mkdir ci-test-build mkdir ci-test-build
cd ci-test-build cd ci-test-build
cmake -DCMAKE_C_COMPILER=${{ matrix.CC }} -DCMAKE_CXX_COMPILER=${{ matrix.CXX }} -DCMAKE_INSTALL_PREFIX=../ci-test-install -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -DFRAMELESSHELPER_EXAMPLES_DEPLOYQT=OFF ${{ matrix.lib_type_flag }} -GNinja .. cmake -DCMAKE_C_COMPILER=${{ matrix.CC }} -DCMAKE_CXX_COMPILER=${{ matrix.CXX }} -DCMAKE_INSTALL_PREFIX=../ci-test-install -DCMAKE_BUILD_TYPE=Release -DFRAMELESSHELPER_EXAMPLES_DEPLOYQT=OFF ${{ matrix.lib_type_flag }} -GNinja ..
cmake --build . --target all --config ${{ matrix.build-type }} --parallel cmake --build . --target all --config Release --parallel
cmake --install . --config ${{ matrix.build-type }} cmake --install . --config Release --strip