Skip to content

stevapple/swift-build

 
 

Repository files navigation

//swift/build

The //swift/build project provides a CI configuration for Azure Pipelines that allows building Swift for multiple platforms. The configuration is not specific to Azure, and can be reused for developer builds as well. Thanks to modular packaging, with //swift/build you can easily cross-compile your Swift code for Android and Windows targets, or build on Windows natively without cross-compilation.

Table of Contents

Status

Active Builds

Build Status
VS2022 (main) Build Status
VS2019 (main) Build Status
VS2022 (Swift 5.7) Build Status
VS2022 (Swift 5.6) Build Status
VS2019 (Swift 5.5) Build Status
VS2019 (Swift 5.4) Build Status

Pre-release builds

  • Unified VS2019 Swift 5.5

Retired Builds

  • VS2017 (main)
  • VS2019 (Swift 5.6)
  • VS2019 (Swift 5.3)
  • VS2019 (Swift 5.2)
  • VS2017 (Swift 5.2)

Getting the latest build

Stable builds

The latest stable build can be acuqired from the Swift downloads.

Development builds

The utilities/swift-build.py script allows downloading of the latest build artifacts. The script requires the azure-devops and tabulate python packages. These can be installed with pip:

python3 -m pip install tabulate azure-devops

For example, to download the latest VS2019 build:

swift-build.py --download --build-id VS2019 --latest-artifacts --filter installer.exe

Packages

No packages published

Languages

  • CMake 37.5%
  • Batchfile 31.1%
  • Shell 14.7%
  • C++ 9.2%
  • Makefile 3.5%
  • Dockerfile 2.2%
  • Python 1.8%