File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -2496,6 +2496,24 @@ jobs:
2496
2496
# runtime.
2497
2497
plistlib.dump({ 'DefaultProperties': { 'DEFAULT_USE_RUNTIME': 'MD' } }, plist)
2498
2498
2499
+ - run : |
2500
+ $SDKSettings = @{
2501
+ CanonicalName = "${{ matrix.triple }}"
2502
+ DisplayName = "${{ matrix.os }}"
2503
+ IsBaseSDK = "NO"
2504
+ Version = "${{ inputs.swift_version }}"
2505
+ VersionMap = @{}
2506
+ DefaultProperties = @{
2507
+ PLATFORM_NAME = "${{ matrix.os }}"
2508
+ DEFAULT_COMPILER = [string]::Format(".org.compnerd.dt.toolchain.{0}.{1}-asserts", (Get-Date -Format "yyyymmdd"), ((Get-Date).Hour % 6))
2509
+ }
2510
+ }
2511
+ if ("${{ matrix.os }}" -eq "Windows") {
2512
+ $SDKSettings.DefaultProperties.DEFAULT_USE_RUNTIME = "MD"
2513
+ }
2514
+ New-Item -ItemType Directory -Path "${{ github.workspace }}/BuildRoot/Library/Developer/Platforms/${{ matrix.os }}.platform/Developer/SDKs/${{ matrix.os }}.sdk" -Force | Out-Null
2515
+ $SDKSettings | ConvertTo-JSON | Out-File -FilePath "${{ github.workspace }}/BuildRoot/Library/Developer/Platforms/${{ matrix.os }}.platform/Developer/SDKs/${{ matrix.os }}.sdk/SDKSettings.json"
2516
+
2499
2517
- uses : actions/upload-artifact@v4
2500
2518
if : matrix.os != 'Android' || inputs.build_android
2501
2519
with :
You can’t perform that action at this time.
0 commit comments