Skip to content

Automate install lib icu #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 23 additions & 8 deletions eng/install-native-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,30 @@ if [ "$1" = "Linux" ]; then
exit 1;
fi
elif [ "$1" = "OSX" ]; then
brew install icu4c openssl
if [ "$?" != "0" ]; then
exit 1;
fi
brew link --force icu4c
if [ "$?" != "0"]; then
exit 1;
if [ -x "$(command -v brew)" ]; then
brew install icu4c openssl

if [ "$?" != "0" ]; then
exit 1;
fi
brew link --force icu4c
if [ "$?" != "0"]; then
exit 1;
fi
else
PROC_COUNT=`getconf _NPROCESSORS_ONLN`
mkdir /tmp/icu_build
pushd /tmp/icu_build
pwd
curl -O http://download.icu-project.org/files/icu4c/58.2/icu4c-58_2-src.tgz
tar xzf icu4c-58_2-src.tgz
cd icu/source
ls
./configure
make -j ${PROC_COUNT}
sudo make install
fi
else
else
echo "Must pass \"Linux\" or \"OSX\" as first argument."
exit 1
fi
Expand Down
8 changes: 5 additions & 3 deletions eng/xplat-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ jobs:
dependsOn: ${{ parameters.dependsOn }}

queue:
${{ if eq(parameters.osGroup, 'Linux') }}:
${{ if and(eq(parameters.osGroup, 'Linux'), ne(variables['System.TeamProject'], 'public')) }}:
name: Hosted Ubuntu 1604
${{ if and(eq(parameters.osGroup, 'Windows_NT'), ne(variables['System.TeamProject'], 'public')) }}:
${{ if and(eq(parameters.osGroup, 'Linux'), ne(variables['System.TeamProject'], 'public')) }}:
name: dnceng-linux-internal-temp
${{ if and(eq(parameters.osGroup, 'OSX'), ne(variables['System.TeamProject'], 'public')) }}:
name: Hosted Mac Internal
${{ if and(eq(parameters.osGroup, 'Windows_NT'), eq(variables['System.TeamProject'], 'public')) }}:
${{ if and(eq(parameters.osGroup, 'OSX'), eq(variables['System.TeamProject'], 'public')) }}:
name: Hosted MacOS
${{ if and(eq(parameters.osGroup, 'Windows_NT'), ne(variables['System.TeamProject'], 'public')) }}:
name: dotnet-internal-temp
Expand Down