Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
compnerd committed Dec 13, 2024
2 parents ef5c1e9 + ef9a7d5 commit aa21dc7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-toolchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ jobs:
uses: ./.github/workflows/swift-toolchain.yml
with:
build_os: Windows
build_arch: ${{ inputs.windows_build_arch }}
build_arch: ${{ needs.context.outputs.windows_build_arch }}
build_matrix: ${{ needs.context.outputs[format('windows_{0}_build_matrix', needs.context.outputs.windows_build_cpu)] }}
host_matrix: ${{ needs.context.outputs[format('windows_{0}_host_matrix', needs.context.outputs.windows_build_cpu)] }}
target_matrix: ${{ needs.context.outputs[format('windows_{0}_target_matrix', needs.context.outputs.windows_build_cpu)] }}
Expand Down
19 changes: 5 additions & 14 deletions .github/workflows/swift-toolchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2069,19 +2069,11 @@ jobs:
path: ${{ github.workspace }}/SourceCache/swift-corelibs-libdispatch
show-progress: false
- uses: actions/checkout@v4
if: matrix.os != 'Android'
with:
repository: apple/swift-corelibs-foundation
ref: ${{ inputs.swift_corelibs_foundation_revision }}
path: ${{ github.workspace }}/SourceCache/swift-corelibs-foundation
show-progress: false
- uses: actions/checkout@v4
if: matrix.os == 'Android'
with:
repository: hyp/swift-corelibs-foundation
ref: eng/recore-android-build
path: ${{ github.workspace }}/SourceCache/swift-corelibs-foundation
show-progress: false
- uses: actions/checkout@v4
with:
repository: apple/swift-foundation
Expand Down Expand Up @@ -2270,7 +2262,7 @@ jobs:
-D ZLIB_LIBRARY=${{ github.workspace }}/BuildRoot/Library/zlib-${{ inputs.zlib_version }}/usr/lib/$LIBZ `
-D SwiftFoundation_MACRO=${{ github.workspace }}/BinaryCache/Library/Developer/Toolchains/unknown-Asserts-development.xctoolchain/usr/bin
- name: Build foundation
if: ${{ !(matrix.os == 'Android' && inputs.build_os == 'Windows' && inputs.build_arch == 'arm64') }}
if: matrix.os != 'Android' || inputs.build_android
run: |
cmake --build ${{ github.workspace }}/BinaryCache/foundation
Expand Down Expand Up @@ -3532,8 +3524,8 @@ jobs:
with:
name: sdk-windows-${{ matrix.arch }}-msi
path: |
${{ github.workspace }}/BinaryCache/installer/Release/${{ matrix.arch }}/sdk.${{ matrix.arch }}.msi
${{ github.workspace }}/BinaryCache/installer/Release/${{ matrix.arch }}/sdk.${{ matrix.arch }}.cab
${{ github.workspace }}/BinaryCache/installer/Release/${{ matrix.arch }}/sdk.windows.${{ matrix.arch }}.msi
${{ github.workspace }}/BinaryCache/installer/Release/${{ matrix.arch }}/sdk.windows.${{ matrix.arch }}.cab
- uses: actions/upload-artifact@v4
with:
name: rtl-windows-${{ matrix.arch }}-msi
Expand All @@ -3545,7 +3537,6 @@ jobs:
name: rtl-windows-${{ matrix.arch }}-msm
path: |
${{ github.workspace }}/BinaryCache/installer/Release/${{ matrix.arch }}/rtl.${{ matrix.arch }}.msm
${{ github.workspace }}/BinaryCache/installer/Release/${{ matrix.arch }}/rtl.${{ matrix.arch }}.cab
package_android_sdk_runtime:
# TODO: Build this on macOS or make an equivalent Mac-only job
Expand Down Expand Up @@ -3632,8 +3623,8 @@ jobs:
with:
name: sdk-android-${{ matrix.arch }}-msi
path: |
${{ github.workspace }}/BinaryCache/installer/Release/${{ matrix.cpu }}/android_sdk.${{ matrix.cpu }}.msi
${{ github.workspace }}/BinaryCache/installer/Release/${{ matrix.cpu }}/android_sdk.${{ matrix.cpu }}.cab
${{ github.workspace }}/BinaryCache/installer/Release/${{ matrix.cpu }}/sdk.android.${{ matrix.cpu }}.msi
${{ github.workspace }}/BinaryCache/installer/Release/${{ matrix.cpu }}/sdk.android.${{ matrix.cpu }}.cab
installer:
# TODO: Build this on macOS or make an equivalent Mac-only job
Expand Down

0 comments on commit aa21dc7

Please sign in to comment.