Skip to content

Commit

Permalink
Install some extra dependencies post-hoc
Browse files Browse the repository at this point in the history
  • Loading branch information
directhex committed Mar 30, 2020
1 parent a1d5112 commit e7e9b06
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions eng/install-native-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ if [ "$1" = "Linux" ]; then
if [ "$?" != "0" ]; then
exit 1;
fi
elif [ "$1" = "Android" ]; then
sudo apt update
if [ "$?" != "0" ]; then
exit 1;
fi
sudo apt install cmake llvm-3.9 clang-3.9 lldb-3.9 liblldb-3.9-dev libunwind8 libunwind8-dev gettext libicu-dev liblttng-ust-dev libcurl4-openssl-dev libssl-dev libkrb5-dev libnuma-dev autoconf automake libtool build-essential
if [ "$?" != "0" ]; then
exit 1;
fi
elif [ "$1" = "OSX" ]; then
brew update
brew upgrade
Expand Down
2 changes: 1 addition & 1 deletion eng/pipelines/mono/templates/build-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
# Linux builds use docker images with dependencies preinstalled,
# and FreeBSD builds use a build agent with dependencies
# preinstalled, so we only need this step for OSX and Windows.
- ${{ if in(parameters.osGroup, 'OSX', 'iOS') }}:
- ${{ if in(parameters.osGroup, 'OSX', 'iOS', 'Android') }}:
- script: sh $(Build.SourcesDirectory)/eng/install-native-dependencies.sh $(osGroup)
displayName: Install native dependencies
- ${{ if eq(parameters.osGroup, 'Windows_NT') }}:
Expand Down

0 comments on commit e7e9b06

Please sign in to comment.