@@ -2324,7 +2324,7 @@ jobs:
2324
2324
-D CMAKE_CXX_COMPILER_TARGET=${{ matrix.triple }} `
2325
2325
-D CMAKE_CXX_FLAGS="${{ matrix.cxxflags }}" `
2326
2326
-D CMAKE_INSTALL_BINDIR=$XCTestBinDir `
2327
- -D CMAKE_INSTALL_PREFIX=${{ github.workspace }}/BuildRoot/Library/Developer/Platforms/${{ matrix.os }}.platform/Developer/Library/XCTest-development /usr `
2327
+ -D CMAKE_INSTALL_PREFIX=${{ github.workspace }}/BuildRoot/Library/Developer/Platforms/${{ matrix.os }}.platform/Developer/Library/XCTest-${{ inputs.swift_version }} /usr `
2328
2328
-D CMAKE_Swift_COMPILER=${SWIFTC} `
2329
2329
-D CMAKE_Swift_COMPILER_TARGET=${{ matrix.triple_no_api_level }} `
2330
2330
-D CMAKE_Swift_FLAGS="-resource-dir ${{ github.workspace }}/BinaryCache/Library/Developer/Platforms/${{ matrix.os }}.platform/Developer/SDKs/${{ matrix.os }}.sdk/usr/lib/swift -L${{ github.workspace }}/BinaryCache/Library/Developer/Platforms/${{ matrix.os }}.platform/Developer/SDKs/${{ matrix.os }}.sdk/usr/lib/swift/${{ matrix.os }} ${OVERLAY_FLAGS} ${{ matrix.swiftflags }}" `
@@ -2387,7 +2387,7 @@ jobs:
2387
2387
-D CMAKE_CXX_COMPILER_TARGET=${{ matrix.triple }} `
2388
2388
-D CMAKE_CXX_FLAGS="${{ matrix.cxxflags }}" `
2389
2389
-D CMAKE_INSTALL_BINDIR=$TestingBinDir `
2390
- -D CMAKE_INSTALL_PREFIX=${{ github.workspace }}/BuildRoot/Library/Developer/Platforms/${{ matrix.os }}.platform/Developer/Library/Testing-development /usr `
2390
+ -D CMAKE_INSTALL_PREFIX=${{ github.workspace }}/BuildRoot/Library/Developer/Platforms/${{ matrix.os }}.platform/Developer/Library/Testing-${{ inputs.swift_version }} /usr `
2391
2391
-D CMAKE_Swift_COMPILER=${SWIFTC} `
2392
2392
-D CMAKE_Swift_COMPILER_TARGET=${{ matrix.triple_no_api_level }} `
2393
2393
-D CMAKE_Swift_FLAGS="-package-name swift_testing -resource-dir ${{ github.workspace }}/BinaryCache/Library/Developer/Platforms/${{ matrix.os }}.platform/Developer/SDKs/${{ matrix.os }}.sdk/usr/lib/swift -L${{ github.workspace }}/BinaryCache/Library/Developer/Platforms/${{ matrix.os }}.platform/Developer/SDKs/${{ matrix.os }}.sdk/usr/lib/swift/${{ matrix.os }} ${OVERLAY_FLAGS} ${{ matrix.swiftflags }}" `
@@ -2417,8 +2417,8 @@ jobs:
2417
2417
run : |
2418
2418
$OS = "${{ matrix.os }}".ToLowerInvariant()
2419
2419
$LIB = if ("${{ matrix.os }}" -eq "Windows") { "Testing.lib" } else { "libTesting.so" }
2420
- New-Item -ItemType Directory -Path "${{ github.workspace }}/BuildRoot/Library/Developer/Platforms/${{ matrix.os }}.platform/Developer/Library/Testing-development /usr/lib/swift/${OS}/${{ matrix.cpu }}" -Force -ErrorAction Ignore | Out-Null
2421
- Move-Item -Path "${{ github.workspace }}/BuildRoot/Library/Developer/Platforms/${{ matrix.os }}.platform/Developer/Library/Testing-development /usr/lib/swift/${OS}/${LIB}" "${{ github.workspace }}/BuildRoot/Library/Developer/Platforms/${{ matrix.os }}.platform/Developer/Library/Testing-development /usr/lib/swift/${OS}/${{ matrix.cpu }}/"
2420
+ New-Item -ItemType Directory -Path "${{ github.workspace }}/BuildRoot/Library/Developer/Platforms/${{ matrix.os }}.platform/Developer/Library/Testing-${{ inputs.swift_version }} /usr/lib/swift/${OS}/${{ matrix.cpu }}" -Force -ErrorAction Ignore | Out-Null
2421
+ Move-Item -Path "${{ github.workspace }}/BuildRoot/Library/Developer/Platforms/${{ matrix.os }}.platform/Developer/Library/Testing-${{ inputs.swift_version }} /usr/lib/swift/${OS}/${LIB}" "${{ github.workspace }}/BuildRoot/Library/Developer/Platforms/${{ matrix.os }}.platform/Developer/Library/Testing-${{ inputs.swift_version }} /usr/lib/swift/${OS}/${{ matrix.cpu }}/"
2422
2422
- name : Install xctest
2423
2423
if : matrix.os != 'Android' || inputs.build_android
2424
2424
run : |
@@ -2428,8 +2428,8 @@ jobs:
2428
2428
run : |
2429
2429
$OS = "${{ matrix.os }}".ToLowerInvariant()
2430
2430
$LIB = if ("${{ matrix.os }}" -eq "Windows") { "XCTest.lib" } else { "libXCTest.so" }
2431
- New-Item -ItemType Directory -Path "${{ github.workspace }}/BuildRoot/Library/Developer/Platforms/${{ matrix.os }}.platform/Developer/Library/XCTest-development /usr/lib/swift/${OS}/${{ matrix.cpu }}" -Force -ErrorAction Ignore | Out-Null
2432
- Move-Item -Path "${{ github.workspace }}/BuildRoot/Library/Developer/Platforms/${{ matrix.os }}.platform/Developer/Library/XCTest-development /usr/lib/swift/${OS}/${LIB}" "${{ github.workspace }}/BuildRoot/Library/Developer/Platforms/${{ matrix.os }}.platform/Developer/Library/XCTest-development /usr/lib/swift/${OS}/${{ matrix.cpu }}/"
2431
+ New-Item -ItemType Directory -Path "${{ github.workspace }}/BuildRoot/Library/Developer/Platforms/${{ matrix.os }}.platform/Developer/Library/XCTest-${{ inputs.swift_version }} /usr/lib/swift/${OS}/${{ matrix.cpu }}" -Force -ErrorAction Ignore | Out-Null
2432
+ Move-Item -Path "${{ github.workspace }}/BuildRoot/Library/Developer/Platforms/${{ matrix.os }}.platform/Developer/Library/XCTest-${{ inputs.swift_version }} /usr/lib/swift/${OS}/${LIB}" "${{ github.workspace }}/BuildRoot/Library/Developer/Platforms/${{ matrix.os }}.platform/Developer/Library/XCTest-${{ inputs.swift_version }} /usr/lib/swift/${OS}/${{ matrix.cpu }}/"
2433
2433
- name : Install foundation
2434
2434
if : matrix.os != 'Android' || inputs.build_android
2435
2435
run : |
0 commit comments