From ea4bd2f60fe9dc19caf36300c78e52a70e2844ba Mon Sep 17 00:00:00 2001 From: Alexander Arin Date: Fri, 21 Nov 2025 19:27:42 +0300 Subject: [PATCH] Update cmake.yml --- .github/workflows/cmake.yml | 68 ++++++++++++++++++------------------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 8ef5164..ec5c939 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -174,44 +174,44 @@ jobs: - name: Build run: cmake --build '${{github.workspace}}/build' --config ${{env.BUILD_TYPE}} - macos: - runs-on: macos-latest - name: macos-latest-Qt-${{ matrix.qt_version }}-static-${{ matrix.static }} - needs: check-code-style - strategy: - fail-fast: false - matrix: - macos_version: [12] - qt_version: [5.15.2, 6.4.0] - static: [ON, OFF] + # macos: + # runs-on: macos-latest + # name: macos-latest-Qt-${{ matrix.qt_version }}-static-${{ matrix.static }} + # needs: check-code-style + # strategy: + # fail-fast: false + # matrix: + # macos_version: [12] + # qt_version: [5.15.2, 6.4.0] + # static: [ON, OFF] - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-tags: true + # steps: + # - name: Checkout + # uses: actions/checkout@v4 + # with: + # fetch-tags: true - # https://github.com/actions/checkout/issues/1781 - # workaround https://github.com/actions/checkout/issues/1471#issuecomment-1755560284 - - name: Fetch tags - run: git fetch --prune --unshallow --tags + # # https://github.com/actions/checkout/issues/1781 + # # workaround https://github.com/actions/checkout/issues/1471#issuecomment-1755560284 + # - name: Fetch tags + # run: git fetch --prune --unshallow --tags - - 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: 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 for Qt5 - if: "startsWith(matrix.qt_version, '5.')" - run: cmake -DCMAKE_BUILD_TYPE="${{env.BUILD_TYPE}}" -DLIMEREPORT_STATIC=${{ matrix.static }} -DLIMEREPORT_DEMO=ON -B "${{github.workspace}}/build" + # - name: Configure CMake for Qt5 + # if: "startsWith(matrix.qt_version, '5.')" + # run: cmake -DCMAKE_BUILD_TYPE="${{env.BUILD_TYPE}}" -DLIMEREPORT_STATIC=${{ matrix.static }} -DLIMEREPORT_DEMO=ON -B "${{github.workspace}}/build" - - name: Configure CMake for Qt6 - if: "startsWith(matrix.qt_version, '6.')" - run: cmake -DUSE_QT6=ON -DCMAKE_BUILD_TYPE="${{env.BUILD_TYPE}}" -DLIMEREPORT_STATIC=${{ matrix.static }} -DLIMEREPORT_DEMO=ON -B "${{github.workspace}}/build" + # - name: Configure CMake for Qt6 + # if: "startsWith(matrix.qt_version, '6.')" + # run: cmake -DUSE_QT6=ON -DCMAKE_BUILD_TYPE="${{env.BUILD_TYPE}}" -DLIMEREPORT_STATIC=${{ matrix.static }} -DLIMEREPORT_DEMO=ON -B "${{github.workspace}}/build" - - name: Build - run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} + # - name: Build + # run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}