summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci/env_debian10_ninja.sh
blob: ba8ad479dd191fbfc6edf21eace5273e963bd8a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
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