@@ -230,6 +230,7 @@ jobs:
230230 # Disable CodeQL on mac as it interferes with signing the binaries (signing hangs, see #2563 and #2564)
231231 run_codeql : false
232232 xcode_version : 16.3.0
233+ dependency_cache_key : qt6
233234 is_main_build_target : true
234235
235236 # Reminder: If Legacy is removed, be sure to add a dedicated job for CodeQL again.
@@ -243,6 +244,7 @@ jobs:
243244 # https://developer.apple.com/support/xcode/
244245 # https://xcodereleases.com/
245246 xcode_version : 16.3.0
247+ dependency_cache_key : qt5
246248 is_main_build_target : true
247249
248250 - config_name : iOS (artifacts)
@@ -254,19 +256,22 @@ jobs:
254256 # Therefore, disable it:
255257 run_codeql : false
256258 xcode_version : 26.2
259+ dependency_cache_key : ios
257260
258261 - config_name : Windows (artifact+codeQL)
259262 target_os : windows
260263 building_on_os : windows-2025
261264 base_command : powershell .\.github\autobuild\windows.ps1 -Stage
262265 run_codeql : true
266+ dependency_cache_key : asio
263267 is_main_build_target : true
264268
265269 - config_name : Windows JACK (artifact)
266270 target_os : windows
267271 building_on_os : windows-2025
268272 base_command : powershell .\.github\autobuild\windows.ps1 -BuildOption jackonwindows -Stage
269273 run_codeql : false
274+ dependency_cache_key : jack
270275
271276 # This injects the build_all_targets information into each matrix output:
272277 build_all_targets :
@@ -300,7 +305,14 @@ jobs:
300305 path : |
301306 ~/qt
302307 ~/Library/Cache/jamulus-dependencies
303- key : ${{ matrix.config.target_os }}-${{ hashFiles('.github/workflows/autobuild.yml', '.github/autobuild/mac.sh', 'mac/deploy_mac.sh') }}-${{ matrix.config.base_command }}
308+ key : ${{ matrix.config.target_os }}-${{ hashFiles('.github/autobuild/mac-dependencies.sh') }}-${{ matrix.config.dependency_cache_key }}
309+
310+ - name : Cache iOS dependencies
311+ if : matrix.config.target_os == 'ios'
312+ uses : actions/cache@v6
313+ with :
314+ path : /opt/qt
315+ key : ${{ matrix.config.target_os }}-${{ hashFiles('.github/autobuild/ios-dependencies.sh') }}-${{ matrix.config.dependency_cache_key }}
304316
305317 - name : Cache Windows dependencies
306318 if : matrix.config.target_os == 'windows'
@@ -312,7 +324,7 @@ jobs:
312324 C:\AutobuildCache
313325 ${{ github.workspace }}\libs\NSIS\NSIS-source
314326 ${{ github.workspace }}\libs\ASIOSDK2
315- key : ${{ matrix.config.target_os }}-${{ hashFiles('.github/workflows/ autobuild.yml', '.github/autobuild/ windows.ps1', 'windows/deploy_windows.ps1') }}-${{ matrix.config.base_command }}
327+ key : ${{ matrix.config.target_os }}-${{ hashFiles('.github/autobuild/ windows-dependencies .ps1', 'windows/deploy_windows.ps1') }}-${{ matrix.config.dependency_cache_key }}
316328
317329 - name : Cache Android dependencies
318330 if : matrix.config.target_os == 'android'
0 commit comments