From 86ef9ee8e3988a5fdf423551851f16c1a0f81ecc Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 05:20:37 +0000 Subject: [PATCH] [main] Update dependencies from dotnet/arcade (#9997) [main] Update dependencies from dotnet/arcade --- eng/Version.Details.xml | 16 +++--- eng/Versions.props | 2 +- eng/common/native/install-dependencies.sh | 61 +++++++++++++++++++++++ global.json | 4 +- 4 files changed, 72 insertions(+), 11 deletions(-) create mode 100644 eng/common/native/install-dependencies.sh diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 36872c56b39..b334a9f924c 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -165,25 +165,25 @@ - + https://github.com/dotnet/arcade - 89040b649a6aa8fa9b6bd6ddaad5a637cf091b07 + ee7a468d815a3401b842e23ee336dd9d679d973d - + https://github.com/dotnet/arcade - 89040b649a6aa8fa9b6bd6ddaad5a637cf091b07 + ee7a468d815a3401b842e23ee336dd9d679d973d - + https://github.com/dotnet/arcade - 89040b649a6aa8fa9b6bd6ddaad5a637cf091b07 + ee7a468d815a3401b842e23ee336dd9d679d973d https://github.com/dotnet/arcade f4e11a15c7b8a949d4a366e792a9843ff6e88cd5 - + https://github.com/dotnet/arcade - 89040b649a6aa8fa9b6bd6ddaad5a637cf091b07 + ee7a468d815a3401b842e23ee336dd9d679d973d https://github.com/dotnet/sourcelink diff --git a/eng/Versions.props b/eng/Versions.props index 377c3e94e55..489ac8e4f15 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -51,7 +51,7 @@ 9.0.0-beta.24053.1 - 10.0.0-beta.24523.2 + 10.0.0-beta.24525.3 diff --git a/eng/common/native/install-dependencies.sh b/eng/common/native/install-dependencies.sh new file mode 100644 index 00000000000..03e47c48ac9 --- /dev/null +++ b/eng/common/native/install-dependencies.sh @@ -0,0 +1,61 @@ +#!/bin/sh + +set -e + +# This is a simple script primarily used for CI to install necessary dependencies +# +# Usage: +# +# ./install-dependencies.sh + +os="$(echo "$1" | tr "[:upper:]" "[:lower:]")" + +if [ -z "$os" ]; then + . "$(dirname "$0")"/init-os-and-arch.sh +fi + +case "$os" in + linux) + if [ -e /etc/os-release ]; then + . /etc/os-release + fi + + if [ "$ID" = "debian" ] || [ "$ID_LIKE" = "debian" ]; then + apt update + + apt install -y build-essential gettext locales cmake llvm clang lld lldb liblldb-dev libunwind8-dev libicu-dev liblttng-ust-dev \ + libssl-dev libkrb5-dev zlib1g-dev pigz + + localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 + elif [ "$ID" = "fedora" ]; then + dnf install -y cmake llvm lld lldb clang python curl libicu-devel openssl-devel krb5-devel zlib-devel lttng-ust-devel pigz + elif [ "$ID" = "alpine" ]; then + apk add build-base cmake bash curl clang llvm-dev lld lldb krb5-dev lttng-ust-dev icu-dev zlib-dev openssl-dev pigz + else + echo "Unsupported distro. distro: $ID" + exit 1 + fi + ;; + + osx|maccatalyst|ios|iossimulator|tvos|tvossimulator) + echo "Installed xcode version: $(xcode-select -p)" + + export HOMEBREW_NO_INSTALL_CLEANUP=1 + export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 + # Skip brew update for now, see https://github.com/actions/setup-python/issues/577 + # brew update --preinstall + brew bundle --no-upgrade --no-lock --file=- <