|
171 | 171 | required: true |
172 | 172 | type: string |
173 | 173 |
|
174 | | - yams_revision: |
175 | | - required: true |
176 | | - type: string |
177 | | - |
178 | 174 | zlib_revision: |
179 | 175 | required: true |
180 | 176 | type: string |
@@ -767,12 +763,6 @@ jobs: |
767 | 763 | ref: ${{ inputs.swift_argument_parser_revision }} |
768 | 764 | path: ${{ github.workspace }}/SourceCache/swift-argument-parser |
769 | 765 | show-progress: false |
770 | | - - uses: actions/checkout@v4 |
771 | | - with: |
772 | | - repository: jpsim/Yams |
773 | | - ref: ${{ inputs.yams_revision }} |
774 | | - path: ${{ github.workspace }}/SourceCache/Yams |
775 | | - show-progress: false |
776 | 766 | - uses: actions/checkout@v4 |
777 | 767 | with: |
778 | 768 | repository: swiftlang/swift-driver |
@@ -2664,12 +2654,6 @@ jobs: |
2664 | 2654 | ref: ${{ inputs.swift_tools_support_core_revision }} |
2665 | 2655 | path: ${{ github.workspace }}/SourceCache/swift-tools-support-core |
2666 | 2656 | show-progress: false |
2667 | | - - uses: actions/checkout@v4 |
2668 | | - with: |
2669 | | - repository: jpsim/Yams |
2670 | | - ref: ${{ inputs.yams_revision }} |
2671 | | - path: ${{ github.workspace }}/SourceCache/Yams |
2672 | | - show-progress: false |
2673 | 2657 | - uses: actions/checkout@v4 |
2674 | 2658 | with: |
2675 | 2659 | repository: swiftlang/swift |
@@ -2803,34 +2787,6 @@ jobs: |
2803 | 2787 | - name: Build swift-crypto |
2804 | 2788 | run: cmake --build ${{ github.workspace }}/BinaryCache/swift-crypto |
2805 | 2789 |
|
2806 | | - - name: Configure Yams |
2807 | | - run: | |
2808 | | - # Workaround CMake 3.20 issue |
2809 | | - $SWIFTC = cygpath -m ${{ github.workspace }}/BinaryCache/Library/Developer/Toolchains/unknown-Asserts-development.xctoolchain/usr/bin/swiftc.exe |
2810 | | -
|
2811 | | - cmake -B ${{ github.workspace }}/BinaryCache/yams ` |
2812 | | - -D BUILD_SHARED_LIBS=NO ` |
2813 | | - -D BUILD_TESTING=NO ` |
2814 | | - -D CMAKE_BUILD_TYPE=Release ` |
2815 | | - -D CMAKE_C_COMPILER=cl ` |
2816 | | - -D CMAKE_C_COMPILER_TARGET=${{ matrix.triple }} ` |
2817 | | - -D CMAKE_C_FLAGS="${{ inputs.WINDOWS_CMAKE_C_FLAGS }}" ` |
2818 | | - -D CMAKE_CXX_COMPILER=cl ` |
2819 | | - -D CMAKE_CXX_COMPILER_TARGET=${{ matrix.triple }} ` |
2820 | | - -D CMAKE_CXX_FLAGS="${{ inputs.WINDOWS_CMAKE_CXX_FLAGS }}" ` |
2821 | | - -D CMAKE_INSTALL_PREFIX=${{ github.workspace }}/BuildRoot/Library/Developer/Toolchains/unknown-Asserts-development.xctoolchain/usr ` |
2822 | | - -D CMAKE_Swift_COMPILER=${SWIFTC} ` |
2823 | | - -D CMAKE_Swift_COMPILER_TARGET=${{ matrix.triple }} ` |
2824 | | - -D CMAKE_Swift_COMPILER_WORKS=YES ` |
2825 | | - -D CMAKE_Swift_FLAGS="-sdk ${env:SDKROOT} ${{ inputs.CMAKE_Swift_FLAGS }}" ` |
2826 | | - -D CMAKE_Swift_FLAGS_RELEASE="-O" ` |
2827 | | - -D CMAKE_SYSTEM_NAME=Windows ` |
2828 | | - -D CMAKE_SYSTEM_PROCESSOR=${{ matrix.cpu }} ` |
2829 | | - -G Ninja ` |
2830 | | - -S ${{ github.workspace }}/SourceCache/Yams |
2831 | | - - name: Build Yams |
2832 | | - run: cmake --build ${{ github.workspace }}/BinaryCache/yams |
2833 | | - |
2834 | 2790 | - name: Configure swift-llbuild |
2835 | 2791 | run: | |
2836 | 2792 | # Workaround CMake 3.20 issue |
@@ -2954,8 +2910,7 @@ jobs: |
2954 | 2910 | -D SwiftSystem_DIR=${{ github.workspace }}/BinaryCache/swift-system/cmake/modules ` |
2955 | 2911 | -D SQLite3_LIBRARY=${{ github.workspace }}/BinaryCache/Library/sqlite-${{ inputs.swift_toolchain_sqlite_version }}/usr/lib/SQLite3.lib ` |
2956 | 2912 | -D SQLite3_INCLUDE_DIR=${{ github.workspace }}/BinaryCache/Library/sqlite-${{ inputs.swift_toolchain_sqlite_version }}/usr/include ` |
2957 | | - -D TSC_DIR=${{ github.workspace }}/BinaryCache/swift-tools-support-core/cmake/modules ` |
2958 | | - -D Yams_DIR=${{ github.workspace }}/BinaryCache/yams/cmake/modules |
| 2913 | + -D TSC_DIR=${{ github.workspace }}/BinaryCache/swift-tools-support-core/cmake/modules |
2959 | 2914 | - name: Build swift-driver |
2960 | 2915 | run: cmake --build ${{ github.workspace }}/BinaryCache/swift-driver |
2961 | 2916 |
|
@@ -3046,8 +3001,7 @@ jobs: |
3046 | 3001 | -D SwiftDriver_DIR=${{ github.workspace }}/BinaryCache/swift-driver/cmake/modules ` |
3047 | 3002 | -D SwiftSyntax_DIR=${{ github.workspace }}/BinaryCache/swift-syntax/cmake/modules ` |
3048 | 3003 | -D SwiftSystem_DIR=${{ github.workspace }}/BinaryCache/swift-system/cmake/modules ` |
3049 | | - -D TSC_DIR=${{ github.workspace }}/BinaryCache/swift-tools-support-core/cmake/modules ` |
3050 | | - -D Yams_DIR=${{ github.workspace }}/BinaryCache/yams/cmake/modules |
| 3004 | + -D TSC_DIR=${{ github.workspace }}/BinaryCache/swift-tools-support-core/cmake/modules |
3051 | 3005 | - name: Build swift-package-manager |
3052 | 3006 | run: cmake --build ${{ github.workspace }}/BinaryCache/swift-package-manager |
3053 | 3007 |
|
|
0 commit comments