Back to Swift Package Manager

Windows Self-Hosted Test

Utilities/README.md

0.6.0819 B
Original Source

Windows Self-Hosted Test

Here are some steps the worked running on Windows.

  1. Install Docker on a Windows host
  2. Launch a Powershell.exe session
  3. Run the following in power shell to start a container running the nightly toolchain
    docker run --pull always --rm --interactive --tty swiftlang/swift:nightly-6.2-windowsservercore-1809 powershell.exe
    
  4. When the container start, clone the "merged" PR to C:\source
    mkdir C:\source
    cd C:\source
    git clone https://github.com/swiftlang/swift-package-manager .
    # Assign the PR ID to a variable
    $PR_ID = "8288"
    git fetch origin pull/$PR_ID/merge
    git checkout FETCH_HEAD
    
  5. Run the CI pipeline script
    python C:\source\Utilities\build-using-self  --enable-swift-testing --enable-xctest