From 7f9e9b35010d5fff640b28750b5a8054e1052da3 Mon Sep 17 00:00:00 2001 From: czyt1988 Date: Tue, 31 Oct 2023 17:07:30 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E5=88=86=E8=87=AA=E5=8A=A8ci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cmake-win-qt5.12.yml | 36 +++++++++++++++++++ .github/workflows/cmake-win-qt5.13.yml | 36 +++++++++++++++++++ .github/workflows/cmake-win-qt5.14.yml | 36 +++++++++++++++++++ .github/workflows/cmake-win-qt5.15.yml | 36 +++++++++++++++++++ ...{cmake-win-qt5.yml => cmake-win-qt6.0.yml} | 4 +-- .github/workflows/cmake-win-qt6.1.yml | 36 +++++++++++++++++++ .github/workflows/cmake-win-qt6.2.yml | 36 +++++++++++++++++++ .github/workflows/cmake-win-qt6.3.yml | 36 +++++++++++++++++++ .github/workflows/cmake-win-qt6.4.yml | 36 +++++++++++++++++++ .github/workflows/cmake-win-qt6.5.yml | 36 +++++++++++++++++++ ...{cmake-win-qt6.yml => cmake-win-qt6.6.yml} | 4 +-- 11 files changed, 328 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/cmake-win-qt5.12.yml create mode 100644 .github/workflows/cmake-win-qt5.13.yml create mode 100644 .github/workflows/cmake-win-qt5.14.yml create mode 100644 .github/workflows/cmake-win-qt5.15.yml rename .github/workflows/{cmake-win-qt5.yml => cmake-win-qt6.0.yml} (94%) create mode 100644 .github/workflows/cmake-win-qt6.1.yml create mode 100644 .github/workflows/cmake-win-qt6.2.yml create mode 100644 .github/workflows/cmake-win-qt6.3.yml create mode 100644 .github/workflows/cmake-win-qt6.4.yml create mode 100644 .github/workflows/cmake-win-qt6.5.yml rename .github/workflows/{cmake-win-qt6.yml => cmake-win-qt6.6.yml} (94%) diff --git a/.github/workflows/cmake-win-qt5.12.yml b/.github/workflows/cmake-win-qt5.12.yml new file mode 100644 index 00000000..05a232be --- /dev/null +++ b/.github/workflows/cmake-win-qt5.12.yml @@ -0,0 +1,36 @@ +name: CMake-Windows-Qt5.12LTS + +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: [2019, latest] + qt_version: [5.12.0,5.12.12] + 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 + + - 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}} \ No newline at end of file diff --git a/.github/workflows/cmake-win-qt5.13.yml b/.github/workflows/cmake-win-qt5.13.yml new file mode 100644 index 00000000..211f70ae --- /dev/null +++ b/.github/workflows/cmake-win-qt5.13.yml @@ -0,0 +1,36 @@ +name: CMake-Windows-Qt5.13 + +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: [2019, latest] + qt_version: [5.13.0,5.13.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 + + - 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}} \ No newline at end of file diff --git a/.github/workflows/cmake-win-qt5.14.yml b/.github/workflows/cmake-win-qt5.14.yml new file mode 100644 index 00000000..97cee5a4 --- /dev/null +++ b/.github/workflows/cmake-win-qt5.14.yml @@ -0,0 +1,36 @@ +name: CMake-Windows-Qt5.14 + +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: [2019, latest] + qt_version: [5.14.0,5.14.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 + + - 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}} \ No newline at end of file diff --git a/.github/workflows/cmake-win-qt5.15.yml b/.github/workflows/cmake-win-qt5.15.yml new file mode 100644 index 00000000..f1bf0776 --- /dev/null +++ b/.github/workflows/cmake-win-qt5.15.yml @@ -0,0 +1,36 @@ +name: CMake-Windows-Qt5.15 + +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: [2019, latest] + qt_version: [5.15.0,5.15.9] + 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 + + - 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}} \ No newline at end of file diff --git a/.github/workflows/cmake-win-qt5.yml b/.github/workflows/cmake-win-qt6.0.yml similarity index 94% rename from .github/workflows/cmake-win-qt5.yml rename to .github/workflows/cmake-win-qt6.0.yml index 05482bb5..b680d617 100644 --- a/.github/workflows/cmake-win-qt5.yml +++ b/.github/workflows/cmake-win-qt6.0.yml @@ -1,4 +1,4 @@ -name: CMake-Windows-Qt5 +name: CMake-Windows-Qt6.0 on: [pull_request,push] @@ -14,7 +14,7 @@ jobs: fail-fast: false matrix: win_version: [2019, latest] - qt_version: [5.14.2,5.15.0] + qt_version: [6.0.0,6.0.4] shared: [ON] steps: diff --git a/.github/workflows/cmake-win-qt6.1.yml b/.github/workflows/cmake-win-qt6.1.yml new file mode 100644 index 00000000..b98e1336 --- /dev/null +++ b/.github/workflows/cmake-win-qt6.1.yml @@ -0,0 +1,36 @@ +name: CMake-Windows-Qt6.1 + +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: [2019, latest] + qt_version: [6.1.0,6.1.3] + 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 + + - 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}} \ No newline at end of file diff --git a/.github/workflows/cmake-win-qt6.2.yml b/.github/workflows/cmake-win-qt6.2.yml new file mode 100644 index 00000000..9150caa6 --- /dev/null +++ b/.github/workflows/cmake-win-qt6.2.yml @@ -0,0 +1,36 @@ +name: CMake-Windows-Qt6.2 + +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: [2019, latest] + qt_version: [6.2.0,6.2.4] + 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 + + - 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}} \ No newline at end of file diff --git a/.github/workflows/cmake-win-qt6.3.yml b/.github/workflows/cmake-win-qt6.3.yml new file mode 100644 index 00000000..9cccf122 --- /dev/null +++ b/.github/workflows/cmake-win-qt6.3.yml @@ -0,0 +1,36 @@ +name: CMake-Windows-Qt6.3 + +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: [2019, latest] + qt_version: [6.3.0,6.3.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 + + - 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}} \ No newline at end of file diff --git a/.github/workflows/cmake-win-qt6.4.yml b/.github/workflows/cmake-win-qt6.4.yml new file mode 100644 index 00000000..844c5df8 --- /dev/null +++ b/.github/workflows/cmake-win-qt6.4.yml @@ -0,0 +1,36 @@ +name: CMake-Windows-Qt6.4 + +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: [2019, latest] + qt_version: [6.4.0,6.4.3] + 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 + + - 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}} \ No newline at end of file diff --git a/.github/workflows/cmake-win-qt6.5.yml b/.github/workflows/cmake-win-qt6.5.yml new file mode 100644 index 00000000..04cd1176 --- /dev/null +++ b/.github/workflows/cmake-win-qt6.5.yml @@ -0,0 +1,36 @@ +name: CMake-Windows-Qt6.5 + +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: [2019, latest] + qt_version: [6.5.0,6.5.3] + 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 + + - 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}} \ No newline at end of file diff --git a/.github/workflows/cmake-win-qt6.yml b/.github/workflows/cmake-win-qt6.6.yml similarity index 94% rename from .github/workflows/cmake-win-qt6.yml rename to .github/workflows/cmake-win-qt6.6.yml index a3e6e345..1d1144b0 100644 --- a/.github/workflows/cmake-win-qt6.yml +++ b/.github/workflows/cmake-win-qt6.6.yml @@ -1,4 +1,4 @@ -name: CMake-Windows-Qt6 +name: CMake-Windows-Qt6.6 on: [pull_request,push] @@ -14,7 +14,7 @@ jobs: fail-fast: false matrix: win_version: [2019, latest] - qt_version: [6.2.0,6.5.0] + qt_version: [6.6.0] shared: [ON] steps: