From 5c6478f3d63a6c6105b5fde284940ab2a00f727f Mon Sep 17 00:00:00 2001 From: x-tools-author Date: Wed, 5 Mar 2025 13:19:22 +0800 Subject: [PATCH] chore: update the file --- .github/workflows/build-macos.yml | 3 ++- cmake/dmg/dmg.cmake | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index a3e870cf..9718a01c 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -12,9 +12,10 @@ jobs: name: Build runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: os: [macos-14] - version: [6.8.*] + version: [6.2.4, 6.5.3, 6.8.2] steps: - name: checkout uses: actions/checkout@v4 diff --git a/cmake/dmg/dmg.cmake b/cmake/dmg/dmg.cmake index 4d820eef..dc89ef11 100644 --- a/cmake/dmg/dmg.cmake +++ b/cmake/dmg/dmg.cmake @@ -7,6 +7,11 @@ function(x_tools_generate_dmg target version) return() endif() + # Just for Qt 6.5 or later + if(QT_VERSION VERSION_LESS "6.5.0") + return() + endif() + add_custom_target( ${target}_dmg COMMAND ${MACDEPLOYQT_EXECUTABLE} "${target}.app" "-dmg"