Skip to content

Commit

Permalink
Try to fix macOS CI (it works locally)
Browse files Browse the repository at this point in the history
  • Loading branch information
oclero committed May 5, 2024
1 parent d335dbb commit 8f3aa1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ jobs:
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: "5.15.2"
version: '5.15.2'
host: mac
target: desktop
arch: clang_64

- name: Configure CMake
run: cmake --preset macos -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED=OFF -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY=""
run: cmake --preset macos -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED=OFF -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY="-" -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGN_STYLE="Manual"

- name: Build the library.
run: cmake --build --preset macos
Expand Down
2 changes: 1 addition & 1 deletion CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"generator": "Xcode",
"binaryDir": "${sourceDir}/_build",
"cacheVariables": {
"QT_DIR": "/opt/homebrew/opt/qt/lib/cmake/Qt6"
"QT_DIR": "/opt/homebrew/opt/qt/lib/cmake/Qt5"
},
"condition": {
"type": "equals",
Expand Down

0 comments on commit 8f3aa1c

Please sign in to comment.