mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-30 11:10:06 -05:00
12 lines
602 B
Bash
12 lines
602 B
Bash
export MY_RUBY_HOME="/usr/local/rvm/rubies/ruby-2.7.0"
|
|
|
|
if test -z "$CI_MERGE_REQUEST_ID"; then
|
|
curl -L -O "https://download.swift.org/swift-5.7.1-release/ubuntu1804/swift-5.7.1-RELEASE/swift-5.7.1-RELEASE-ubuntu18.04.tar.gz"
|
|
echo '2b30f9efc969d9e96f0836d0871130dffb369822a3823ee6f3db44c29c1698e3 swift-5.7.1-RELEASE-ubuntu18.04.tar.gz' > swift.sha256sum
|
|
sha256sum --check swift.sha256sum
|
|
mkdir /opt/swift
|
|
tar xzf swift-5.7.1-RELEASE-ubuntu18.04.tar.gz -C /opt/swift --strip-components=2
|
|
rm swift-5.7.1-RELEASE-ubuntu18.04.tar.gz swift.sha256sum
|
|
export SWIFTC="/opt/swift/bin/swiftc"
|
|
fi
|