1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-09 17:44:48 +09:00
Satori/eng/install-native-dependencies.sh
Alexander Köplinger 6eb3edf818
Enable Mono build in CI (#1934)
* Enable Mono in default build

* Integrate Mono into the build system

* Fix System.Private.CoreLib build in Mono

Broken by 9c82a36c23

* Disable Windows test runs

Fails due to https://github.com/dotnet/runtime/issues/1933

Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
2020-01-22 21:20:13 +01:00

29 lines
786 B
Bash

#!/usr/bin/env sh
if [ "$1" = "Linux" ]; 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
if [ "$?" != "0" ]; then
exit 1;
fi
brew install icu4c openssl autoconf automake libtool pkg-config python3
if [ "$?" != "0" ]; then
exit 1;
fi
brew link --force icu4c
if [ "$?" != "0" ]; then
exit 1;
fi
else
echo "Must pass \"Linux\" or \"OSX\" as first argument."
exit 1
fi