diff --git a/ci/install-dependencies.sh b/ci/install-dependencies.sh index 8cc72503cb7685..0df48365dc5b22 100755 --- a/ci/install-dependencies.sh +++ b/ci/install-dependencies.sh @@ -5,27 +5,23 @@ . ${0%/*}/lib.sh -P4WHENCE=http://filehost.perforce.com/perforce/r$LINUX_P4_VERSION LFSWHENCE=https://github.com/github/git-lfs/releases/download/v$LINUX_GIT_LFS_VERSION case "$jobname" in linux-clang|linux-gcc) + wget -qO - https://package.perforce.com/perforce.pubkey | sudo apt-key add - + echo "deb http://package.perforce.com/apt/ubuntu xenial release" >perforce.list + sudo mv perforce.list /etc/apt/sources.list.d/ sudo apt-add-repository -y "ppa:ubuntu-toolchain-r/test" sudo apt-get -q update - sudo apt-get -q -y install language-pack-is libsvn-perl apache2 + sudo apt-get -q -y install language-pack-is libsvn-perl apache2 \ + helix-p4d case "$jobname" in linux-gcc) sudo apt-get -q -y install gcc-8 ;; esac - mkdir --parents "$P4_PATH" - pushd "$P4_PATH" - wget --quiet "$P4WHENCE/bin.linux26x86_64/p4d" - wget --quiet "$P4WHENCE/bin.linux26x86_64/p4" - chmod u+x p4d - chmod u+x p4 - popd mkdir --parents "$GIT_LFS_PATH" pushd "$GIT_LFS_PATH" wget --quiet "$LFSWHENCE/git-lfs-linux-amd64-$LINUX_GIT_LFS_VERSION.tar.gz" diff --git a/ci/lib.sh b/ci/lib.sh index 44db2d5cbb2241..efcccfee6fa00e 100755 --- a/ci/lib.sh +++ b/ci/lib.sh @@ -162,17 +162,15 @@ linux-clang|linux-gcc) export GIT_TEST_HTTPD=YesPlease - # The Linux build installs the defined dependency versions below. - # The OS X build installs much more recent versions, whichever + # The Linux build installs the defined dependency version below. + # The OS X build installs much more recent version, whichever # were recorded in the Homebrew database upon creating the OS X # image. # Keep that in mind when you encounter a broken OS X build! - export LINUX_P4_VERSION="16.2" export LINUX_GIT_LFS_VERSION="1.5.2" - P4_PATH="$HOME/custom/p4" GIT_LFS_PATH="$HOME/custom/git-lfs" - export PATH="$GIT_LFS_PATH:$P4_PATH:$PATH" + export PATH="$GIT_LFS_PATH:$PATH" ;; osx-clang|osx-gcc) if [ "$jobname" = osx-gcc ]