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.
Dependencies
Build | Status |
---|---|
CURL | |
ICU | |
SQLite3 | |
TensorFlow | |
XML2 | |
ZLIB |
Swift HEAD (Development)
Build | Status |
---|---|
VS2017 | |
VS2019 |
The latest stable build can be acuqired from the releases page.
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