Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Update Arcade. #442

Open
wants to merge 42 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
d08fd6d
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Feb 23, 2022
afaaa63
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Feb 24, 2022
23c7ae0
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Feb 25, 2022
37ff34d
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Feb 27, 2022
701aa63
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Mar 2, 2022
27a5e9e
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Mar 3, 2022
7367075
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Mar 4, 2022
5c10d16
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Mar 7, 2022
2a9a219
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Mar 8, 2022
7249bd7
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Mar 17, 2022
0be0c35
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Mar 18, 2022
dc25261
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Mar 19, 2022
dd078a4
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Mar 22, 2022
71e1ed6
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Mar 30, 2022
7ca4c1a
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Apr 1, 2022
2e9a935
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Apr 8, 2022
2e77d9e
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Apr 12, 2022
f6c2e74
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Apr 13, 2022
80e7869
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Apr 14, 2022
5276ef9
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Apr 15, 2022
0f7611b
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Apr 16, 2022
d027926
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Apr 17, 2022
a820c81
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Apr 19, 2022
63609f9
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Apr 21, 2022
464bdfb
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Apr 22, 2022
b7a6d4b
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Apr 23, 2022
9df328a
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Apr 26, 2022
be6c6c7
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] May 5, 2022
383ef66
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] May 7, 2022
36f87b3
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] May 10, 2022
9bc3a09
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] May 11, 2022
9c9555c
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] May 12, 2022
5f3cde5
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] May 13, 2022
0bfa0a8
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] May 17, 2022
79f5638
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] May 21, 2022
d6cbcf6
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] May 24, 2022
5a74dcc
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] May 25, 2022
290fe5c
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] May 26, 2022
69525da
Install a .NET 6 runtime for CI
JoeRobich May 26, 2022
bed3521
Update to dependency packages and trim nuget.config
JoeRobich May 27, 2022
224a70a
Merge branch 'main' into dev/jorobich/update-arcade
JoeRobich May 28, 2022
0935349
Publish text results.
JoeRobich May 30, 2022
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
4 changes: 0 additions & 4 deletions NuGet.config
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,8 @@
<packageSources>
<clear />
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" />
<add key="dotnet5" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5/nuget/v3/index.json" />
<add key="dotnet-tools" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" />
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" />
<add key="nuget-build" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/nuget-build/nuget/v3/index.json" />
<add key="dotnet3" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet3/nuget/v3/index.json" />
<add key="dotnet3-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet3-transport/nuget/v3/index.json" />
</packageSources>
<disabledPackageSources>
<clear />
Expand Down
16 changes: 16 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env bash

source="${BASH_SOURCE[0]}"

# resolve $SOURCE until the file is no longer a symlink
while [[ -h $source ]]; do
scriptroot="$( cd -P "$( dirname "$source" )" && pwd )"
source="$(readlink "$source")"

# if $source was a relative symlink, we need to resolve it relative to the path where the
# symlink file was located
[[ $source != /* ]] && source="$scriptroot/$source"
done

scriptroot="$( cd -P "$( dirname "$source" )" && pwd )"
"$scriptroot/eng/common/build.sh" --build --restore --pack $@
8 changes: 4 additions & 4 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<ProductDependencies>
</ProductDependencies>
<ToolsetDependencies>
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="7.0.0-beta.22117.2">
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="7.0.0-beta.22275.2">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>49750c02e63d0ad3a77d035bba7498a0b1acd218</Sha>
<Sha>a8aae93d709533604b73c619268415c6ccc71292</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="7.0.0-beta.22117.2">
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="7.0.0-beta.22275.2">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>49750c02e63d0ad3a77d035bba7498a0b1acd218</Sha>
<Sha>a8aae93d709533604b73c619268415c6ccc71292</Sha>
</Dependency>
</ToolsetDependencies>
</Dependencies>
20 changes: 10 additions & 10 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@
-->
<PropertyGroup>
<MicrosoftBuildLocatorVersion>1.4.1</MicrosoftBuildLocatorVersion>
<MicrosoftBuildVersion>16.7</MicrosoftBuildVersion>
<MicrosoftWin32RegistryVersion>5.0.0-rc.1.20451.14</MicrosoftWin32RegistryVersion>
<NewtonsoftJsonVersion>12.0.3</NewtonsoftJsonVersion>
<NuGetVersioningVersion>5.8.0-preview.3.6823</NuGetVersioningVersion>
<SystemCollectionsImmutableVersion>5.0.0-rc.1.20451.14</SystemCollectionsImmutableVersion>
<SystemCommandLineVersion>2.0.0-beta1.20371.2</SystemCommandLineVersion>
<SystemConfigurationConfigurationManagerVersion>5.0.0-rc.1.20451.14</SystemConfigurationConfigurationManagerVersion>
<SystemSecurityPrincipalWindowsVersion>5.0.0-rc.1.20451.14</SystemSecurityPrincipalWindowsVersion>
<MicrosoftBuildVersion>16.10</MicrosoftBuildVersion>
<MicrosoftWin32RegistryVersion>5.0.0</MicrosoftWin32RegistryVersion>
<NewtonsoftJsonVersion>13.0.1</NewtonsoftJsonVersion>
<NuGetVersioningVersion>6.0.0</NuGetVersioningVersion>
<SystemCollectionsImmutableVersion>6.0.0</SystemCollectionsImmutableVersion>
<SystemCommandLineVersion>2.0.0-beta3.22114.1</SystemCommandLineVersion>
<SystemConfigurationConfigurationManagerVersion>6.0.0</SystemConfigurationConfigurationManagerVersion>
<SystemSecurityPrincipalWindowsVersion>5.0.0</SystemSecurityPrincipalWindowsVersion>
</PropertyGroup>
<!--
Nuget package versions for tests
-->
<PropertyGroup>
<CoverletCollectorVersion>1.3.0 </CoverletCollectorVersion>
<MoqVersion>4.14.6 </MoqVersion>
<CoverletCollectorVersion>3.1.2</CoverletCollectorVersion>
<MoqVersion>4.18.1</MoqVersion>
</PropertyGroup>
<PropertyGroup>
<DiscoverEditorConfigFiles>true</DiscoverEditorConfigFiles>
Expand Down
15 changes: 11 additions & 4 deletions eng/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pr:
variables:
- name: _TeamName
value: DotNetCore
- name: _BuildConfig
- name: _BuildConfig
value: Release
- name: _PublishUsingPipelines
value: true
Expand All @@ -31,7 +31,7 @@ jobs:
helixRepo: dotnet/standard
jobs:
- job: Windows_NT
pool:
pool:
${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}:
name: NetCore1ESPool-Public
demands: ImageOverride -equals build.windows.10.amd64.vs2019.pre.open
Expand All @@ -50,7 +50,7 @@ jobs:
- name: _BuildArgs
value: /p:SignType=$(_SignType)
/p:DotNetSignType=$(_SignType)
/p:MicroBuild_SigningEnabled=true
/p:MicroBuild_SigningEnabled=true
/p:OverridePackageSource=https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json
/p:TeamName=$(_TeamName)
/p:DotNetPublishBlobFeedKey=$(dotnetfeed-storage-access-key-1)
Expand Down Expand Up @@ -78,8 +78,15 @@ jobs:
- checkout: self
clean: true
- script: eng\common\cibuild.cmd
-configuration $(_BuildConfig)
-configuration $(_BuildConfig)
-prepareMachine
-warnaserror:0
$(_BuildArgs)
displayName: Windows Build / Publish
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: TestResults'
inputs:
PathtoPublish: '$(Build.SourcesDirectory)\artifacts\TestResults\$(_BuildConfig)'
ArtifactName: 'Windows $(_BuildConfig) Test Logs'
continueOnError: true
condition: always()
21 changes: 18 additions & 3 deletions eng/common/cross/build-rootfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ set -e

usage()
{
echo "Usage: $0 [BuildArch] [CodeName] [lldbx.y] [--skipunmount] --rootfsdir <directory>]"
echo "Usage: $0 [BuildArch] [CodeName] [lldbx.y] [llvmx[.y]] [--skipunmount] --rootfsdir <directory>]"
echo "BuildArch can be: arm(default), armel, arm64, x86"
echo "CodeName - optional, Code name for Linux, can be: xenial(default), zesty, bionic, alpine, alpine3.13 or alpine3.14. If BuildArch is armel, LinuxCodeName is jessie(default) or tizen."
echo " for FreeBSD can be: freebsd12, freebsd13"
echo " for illumos can be: illumos."
echo "lldbx.y - optional, LLDB version, can be: lldb3.9(default), lldb4.0, lldb5.0, lldb6.0 no-lldb. Ignored for alpine and FreeBSD"
echo "llvmx[.y] - optional, LLVM version for LLVM related packages."
echo "--skipunmount - optional, will skip the unmount of rootfs folder."
echo "--use-mirror - optional, use mirror URL to fetch resources, when available."
exit 1
Expand Down Expand Up @@ -48,6 +49,7 @@ __AlpinePackages+=" gettext-dev"
__AlpinePackages+=" icu-dev"
__AlpinePackages+=" libunwind-dev"
__AlpinePackages+=" lttng-ust-dev"
__AlpinePackages+=" compiler-rt-static"

# CoreFX dependencies
__UbuntuPackages+=" libcurl4-openssl-dev"
Expand Down Expand Up @@ -164,6 +166,15 @@ while :; do
no-lldb)
unset __LLDB_Package
;;
llvm*)
version="$(echo "$lowerI" | tr -d '[:alpha:]-=')"
parts=(${version//./ })
__LLVM_MajorVersion="${parts[0]}"
__LLVM_MinorVersion="${parts[1]}"
if [[ -z "$__LLVM_MinorVersion" && "$__LLVM_MajorVersion" -le 6 ]]; then
__LLVM_MinorVersion=0;
fi
;;
xenial) # Ubuntu 16.04
if [ "$__CodeName" != "jessie" ]; then
__CodeName=xenial
Expand Down Expand Up @@ -194,8 +205,8 @@ while :; do
__LLDB_Package="liblldb-6.0-dev"
;;
tizen)
if [ "$__BuildArch" != "arm" ] && [ "$__BuildArch" != "armel" ] && [ "$__BuildArch" != "arm64" ]; then
echo "Tizen is available only for arm, armel and arm64."
if [ "$__BuildArch" != "arm" ] && [ "$__BuildArch" != "armel" ] && [ "$__BuildArch" != "arm64" ] && [ "$__BuildArch" != "x86" ] ; then
echo "Tizen is available only for arm, armel, arm64 and x86."
usage;
exit 1;
fi
Expand Down Expand Up @@ -261,6 +272,10 @@ if [ "$__BuildArch" == "armel" ]; then
fi
__UbuntuPackages+=" ${__LLDB_Package:-}"

if [ ! -z "$__LLVM_MajorVersion" ]; then
__UbuntuPackages+=" libclang-common-${__LLVM_MajorVersion}${__LLVM_MinorVersion:+.$__LLVM_MinorVersion}-dev"
fi

if [ -z "$__RootfsDir" ] && [ ! -z "$ROOTFS_DIR" ]; then
__RootfsDir=$ROOTFS_DIR
fi
Expand Down
16 changes: 15 additions & 1 deletion eng/common/cross/toolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ elseif(TARGET_ARCH_NAME STREQUAL "s390x")
elseif(TARGET_ARCH_NAME STREQUAL "x86")
set(CMAKE_SYSTEM_PROCESSOR i686)
set(TOOLCHAIN "i686-linux-gnu")
if(TIZEN)
set(TIZEN_TOOLCHAIN "i586-tizen-linux-gnu/9.2.0")
endif()
elseif (FREEBSD)
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
set(triple "x86_64-unknown-freebsd12")
Expand Down Expand Up @@ -91,6 +94,10 @@ if(TIZEN)
include_directories(SYSTEM ${CROSS_ROOTFS}/usr/lib64/gcc/${TIZEN_TOOLCHAIN}/include/c++/)
include_directories(SYSTEM ${CROSS_ROOTFS}/usr/lib64/gcc/${TIZEN_TOOLCHAIN}/include/c++/aarch64-tizen-linux-gnu)
endif()
if(TARGET_ARCH_NAME STREQUAL "x86")
include_directories(SYSTEM ${CROSS_ROOTFS}/usr/lib/gcc/${TIZEN_TOOLCHAIN}/include/c++/)
include_directories(SYSTEM ${CROSS_ROOTFS}/usr/lib/gcc/${TIZEN_TOOLCHAIN}/include/c++/i586-tizen-linux-gnu)
endif()
endif()

if(ANDROID)
Expand Down Expand Up @@ -197,6 +204,13 @@ elseif(TARGET_ARCH_NAME STREQUAL "arm64")
endif()
elseif(TARGET_ARCH_NAME STREQUAL "x86")
add_toolchain_linker_flag(-m32)

if(TIZEN)
add_toolchain_linker_flag("-B${CROSS_ROOTFS}/usr/lib/gcc/${TIZEN_TOOLCHAIN}")
add_toolchain_linker_flag("-L${CROSS_ROOTFS}/lib")
add_toolchain_linker_flag("-L${CROSS_ROOTFS}/usr/lib")
add_toolchain_linker_flag("-L${CROSS_ROOTFS}/usr/lib/gcc/${TIZEN_TOOLCHAIN}")
endif()
elseif(ILLUMOS)
add_toolchain_linker_flag("-L${CROSS_ROOTFS}/lib/amd64")
add_toolchain_linker_flag("-L${CROSS_ROOTFS}/usr/amd64/lib")
Expand Down Expand Up @@ -232,7 +246,7 @@ elseif(TARGET_ARCH_NAME STREQUAL "x86")
endif()

if(TIZEN)
if(TARGET_ARCH_NAME MATCHES "^(arm|armel|arm64)$")
if(TARGET_ARCH_NAME MATCHES "^(arm|armel|arm64|x86)$")
add_compile_options(-Wno-deprecated-declarations) # compile-time option
add_compile_options(-D__extern_always_inline=inline) # compile-time option
endif()
Expand Down
4 changes: 2 additions & 2 deletions eng/common/dotnet-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ done
# Use uname to determine what the CPU is, see https://en.wikipedia.org/wiki/Uname#Examples
cpuname=$(uname -m)
case $cpuname in
aarch64)
arm64|aarch64)
buildarch=arm64
;;
loongarch64)
Expand All @@ -64,7 +64,7 @@ case $cpuname in
armv*l)
buildarch=arm
;;
i686)
i[3-6]86)
buildarch=x86
;;
*)
Expand Down
Loading