v2.3.1 合并文件SARibbon兼容qt5.12及以下版本 #254
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CMake-Windows-Qt6.2LTS | |
on: [pull_request,push] | |
env: | |
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) | |
BUILD_TYPE: Release | |
jobs: | |
MSVC: | |
name: windows-${{ matrix.win_version }}-Qt-${{ matrix.qt_version }}-shared-${{ matrix.shared }} | |
runs-on: windows-${{ matrix.win_version }} | |
strategy: | |
fail-fast: false | |
matrix: | |
win_version: [latest] | |
qt_version: [6.2.*] | |
shared: [ON] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Qt | |
uses: jurplel/install-qt-action@v3 | |
with: | |
version: ${{ matrix.qt_version }} | |
cache: 'true' | |
cache-key-prefix: ${{ runner.os }}-Qt-Cache-${{ matrix.qt_version }} | |
dir: ${{ github.workspace }}/Qt | |
host: 'windows' | |
arch: 'win64_msvc2019_64' | |
- name: Configure CMake | |
run: cmake -DCMAKE_BUILD_TYPE="${{env.BUILD_TYPE}}" -DBUILD_SHARED_LIBS=${{ matrix.shared }} -DBUILD_EXAMPLES=OFF -B "${{github.workspace}}/build" | |
- name: Build | |
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} |