Skip to content

Commit

Permalink
Work on CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
emericg committed Feb 27, 2024
1 parent 6000a2b commit 91f2af0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/builds_desktop_cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Build application
run: |
cmake -B build/ -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build/
cmake --build build/ --config Release
# Deploy application
- name: Deploy application
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
run: |
export CMAKE_BUILD_PARALLEL_LEVEL=`sysctl -n hw.logicalcpu`
cmake -B build/ -DCMAKE_BUILD_TYPE=Release
cmake --build build/
cmake --build build/ --config Release
# Deploy application
- name: Deploy application
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/builds_mobile_cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ jobs:
-DQT_HOST_PATH:PATH=${{env.QT_HOST_PATH}} \
-DQT_ANDROID_BUILD_ALL_ABIS=ON \
-DQT_ANDROID_ABIS="armeabi-v7a;arm64-v8a;x86;x86_64"
cmake --build build/
cmake --build build/ --config Release
# Package & sign application
- name: Package & sign application
Expand Down Expand Up @@ -266,12 +266,11 @@ jobs:
-DCMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY="iPhone Developer" \
-DCMAKE_XCODE_ATTRIBUTE_DEVELOPMENT_TEAM="24Q8SM98H5" \
-DCMAKE_XCODE_ATTRIBUTE_PROVISIONING_PROFILE="a8ac7ee1-5f4e-4e9c-a0f2-be05df16c179"
cmake --build build/
cmake --build build/ --config Release
# Recap stuff
- name: Recap stuff
continue-on-error: true
run: |
ls build/
ls build/Debug-iphoneos
ls build/Release-iphoneos
12 changes: 6 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ if(ANDROID)
)
endif()

if(APPLE)
set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED "NO")
set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "")
set(CMAKE_XCODE_ATTRIBUTE_DEVELOPMENT_TEAM "")
set(CMAKE_XCODE_ATTRIBUTE_PROVISIONING_PROFILE "")
endif()
#if(APPLE)
# set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED "NO")
# set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "")
# set(CMAKE_XCODE_ATTRIBUTE_DEVELOPMENT_TEAM "")
# set(CMAKE_XCODE_ATTRIBUTE_PROVISIONING_PROFILE "")
#endif()

## macOS
if(APPLE AND NOT IOS)
Expand Down

0 comments on commit 91f2af0

Please sign in to comment.