-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2879 from dotnet/swift-bindings/upgrade-dotnet-9.0.0
[Swift bindings] Upgrade dotnet runtime version to 9.0.0
- Loading branch information
Showing
9 changed files
with
91 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Dependencies> | ||
<ToolsetDependencies> | ||
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="10.0.0-beta.24515.3"> | ||
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="10.0.0-beta.24606.6"> | ||
<Uri>https://github.com/dotnet/arcade</Uri> | ||
<Sha>31624193093a13f765ab5382509e693911264509</Sha> | ||
<Sha>61b8f746424762d2e3173ebfaab19346224d591c</Sha> | ||
</Dependency> | ||
</ToolsetDependencies> | ||
</Dependencies> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> | ||
|
||
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 cpio | ||
|
||
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 cpio | ||
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 cpio | ||
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=- <<EOF | ||
brew "cmake" | ||
brew "icu4c" | ||
brew "openssl@3" | ||
brew "pkgconf" | ||
brew "python3" | ||
brew "pigz" | ||
EOF | ||
;; | ||
|
||
*) | ||
echo "Unsupported platform. OS: $os" | ||
exit 1 | ||
;; | ||
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
{ | ||
"sdk": { | ||
"version": "9.0.100-rc.2.24474.11", | ||
"version": "10.0.100-alpha.1.24573.1", | ||
"allowPrerelease": true, | ||
"rollForward": "major" | ||
}, | ||
"tools": { | ||
"dotnet": "9.0.100-rc.2.24474.11", | ||
"dotnet": "10.0.100-alpha.1.24573.1", | ||
"runtimes": { | ||
"dotnet": [ | ||
"$(MicrosoftNETCoreAppVersion)" | ||
] | ||
} | ||
}, | ||
"msbuild-sdks": { | ||
"Microsoft.DotNet.Arcade.Sdk": "10.0.0-beta.24515.3" | ||
"Microsoft.DotNet.Arcade.Sdk": "10.0.0-beta.24606.6" | ||
} | ||
} |