Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions .github/workflows/autobuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,37 +226,35 @@ jobs:

- config_name: MacOS (artifacts)
target_os: macos
building_on_os: macos-14
building_on_os: macos-15
base_command: QT_VERSION=6.9.1 SIGN_IF_POSSIBLE=1 TARGET_ARCHS="x86_64 arm64" ./.github/autobuild/mac.sh
# Disable CodeQL on mac as it interferes with signing the binaries (signing hangs, see #2563 and #2564)
run_codeql: false
# Latest Xcode which runs on macos-14:
xcode_version: 15.4.0
xcode_version: 16.3.0
is_main_build_target: true

# Reminder: If Legacy is removed, be sure to add a dedicated job for CodeQL again.
- config_name: MacOS Legacy (artifacts+CodeQL)
target_os: macos
building_on_os: macos-13
building_on_os: macos-15-intel
base_command: QT_VERSION=5.15.2 SIGN_IF_POSSIBLE=0 ARTIFACT_SUFFIX=_legacy ./.github/autobuild/mac.sh
# Enable CodeQL on mac legacy as this version does not get signed
run_codeql: true
# For Qt5 on Mac, we need to use an unsupported SDK version as macOS 13 doesn't
# support Xcode 12.1 which still ships SDK 10.15.
# macos-15-intel ships with Xcode 16.x; while Qt5 is older, Xcode 16 still supports building it
# https://developer.apple.com/support/xcode/
# https://xcodereleases.com/
xcode_version: 14.2.0
xcode_version: 16.3.0
is_main_build_target: true

- config_name: iOS (artifacts)
target_os: ios
building_on_os: macos-14
building_on_os: macos-15
base_command: QT_VERSION=6.7.3 ./.github/autobuild/ios.sh
# Build failed with CodeQL enabled when last tested 03/2022 (#2490).
# There are no hints that iOS is supposed to be supported by CodeQL.
# Therefore, disable it:
run_codeql: false
xcode_version: 15.4.0
xcode_version: 16.3.0

- config_name: Windows (artifact+codeQL)
target_os: windows
Expand Down
11 changes: 11 additions & 0 deletions Jamulus.pro
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,17 @@ win32 {
}

} else:macx {
# Set minimum macOS deployment target
# For Qt 5: Support back to macOS 10.13 (High Sierra) for legacy builds on Intel
# For Qt 6: Support macOS 11 (Big Sur) and later for universal binaries
lessThan(QT_MAJOR_VERSION, 6) {
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.13
message(Qt5 build: Setting macOS deployment target to 10.13)
} else {
QMAKE_MACOSX_DEPLOYMENT_TARGET = 11.0
message(Qt6 build: Setting macOS deployment target to 11.0)
}

Comment on lines +176 to +186
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this needed?

Copy link
Collaborator Author

@pljones pljones Dec 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently it ensures Xcode knows which release we're targeting, otherwise it makes its own decision.

(I think there was an issue with it trying to use Qt6 on pre-macOS 11. Or vice versa. It was definitely Qt related, hence being a QMake directive.)

contains(CONFIG, "server_bundle") {
message(The generated application bundle will run a server instance.)

Expand Down