From c1cb2dad3b097610afc67a095d6c40e196c23739 Mon Sep 17 00:00:00 2001 From: barry <870709867@qq.com> Date: Sun, 12 Jan 2025 10:47:27 +0800 Subject: [PATCH] fix: package x64 failed on mac arm --- .github/workflows/macos.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index aaf52ed..1288ba7 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -13,7 +13,12 @@ on: jobs: build: name: Build - runs-on: macos-14 + # install-qt-action在arm上执行macdeployqt会报parse otool错误,所以在intel mac上执行: + # 用qt6时在arm mac上编译arm和intel都没有问题 + # qt5+intel mac编译intel没问题 + # qt5+arm mac编译intel会报错 + # https://github.com/actions/runner-images?tab=readme-ov-file#available-images + runs-on: macos-13 strategy: matrix: qt-ver: [5.15.2]