Created
July 10, 2020 14:05
-
-
Save fkorotkov/a939c8c1dc03de386490ac425cf7b138 to your computer and use it in GitHub Desktop.
Cache SwiftDoc binary on Cirrus CI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task: | |
name: Test Swift-Doc 🎉 | |
osx_instance: | |
image: catalina-xcode | |
env: | |
SWIFT_DOC_VERSION: 1.0.0-beta.3 | |
PATH: $PATH:$CIRRUS_WORKING_DIR/.cache/swift-doc-bin/ | |
swiftdoc_install_cache: | |
folder: .cache/swift-doc-bin | |
fingerprint_script: echo $SWIFT_DOC_VERSION | |
populate_script: | |
- git clone --branch $SWIFT_DOC_VERSION https://github.com/SwiftDocOrg/swift-doc.git | |
- pushd swift-doc | |
- make install prefix=build | |
- popd | |
- mkdir -p .cache/swift-doc-bin | |
- mv swift-doc/build/bin/swift-doc .cache/swift-doc-bin/swift-doc | |
- rm -rf swift-doc | |
swiftdoc_script: swift-doc --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment