* Update .vsts-ci.yml
* Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20220205.1 (#13179)
[release/6.0.1xx] Update dependencies from dotnet/source-build-reference-packages
* Override Microsoft.Net.Sdk.WindowsDesktop references during source-build in Roslyn (#13093)
* override SDK for Microsoft.Net.Sdk.WindowsDesktop references in roslyn
* add new EmptySdk in the source build tarball
* remove roslyn solution filter patch
* Update dependencies from https://github.com/dotnet/arcade build 20220207.2 (#13186)
Microsoft.DotNet.CMake.Sdk , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Arcade.Sdk
From Version 6.0.0-beta.22102.3 -> To Version 6.0.0-beta.22107.2
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
* [release/6.0.1xx] Windows SDK projection update
* Update asp.net templates (#13193)
* Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20220210.1 (#13215)
[release/6.0.1xx] Update dependencies from dotnet/source-build-reference-packages
* Add test to compare msft and sb sdk contents (#13153)
* Update to SDK and previously-source-built 6.0.102. (#13221)
* Add CentOS Stream 9 container to CI matrix (#12955)
* Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20220215.1 (#13229)
[release/6.0.1xx] Update dependencies from dotnet/source-build-reference-packages
* Gather additional smoke test prereqs (#13233)
* Remove bootstrapping for CI builds now that we use CentOS7 previously-source-built (#13232)
* Update Version.Details.xml
* Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20220303.2
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
From Version 6.0.0-servicing.22151.1 -> To Version 6.0.0-servicing.22153.2
Co-authored-by: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Logan Bussell <loganbussell@microsoft.com>
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Sean Reeser <v-seanreeser@microsoft.com>
Co-authored-by: Manodasan Wignarajah <mawign@microsoft.com>
Co-authored-by: William Godbe <wigodbe@microsoft.com>
Co-authored-by: vseanreesermsft <78103370+vseanreesermsft@users.noreply.github.com>
Co-authored-by: Michael Simons <msimons@microsoft.com>
Co-authored-by: Chris Rummel <crummel@microsoft.com>
Co-authored-by: Omair Majid <omajid@redhat.com>
* add dotnet format tests
* some updates from code review
* move helper methods out of DotNetFormatTests class
* rearrange smoke test assets
* update various smoke-test paths and remove root repo check from legacy smoke test script
* fix smoke-test-prereqs tar command path
* fix naming conventions and remove extra formatting test
* more refactoring from pr comments
* refactor BaselineHelper comparison methods
* simplify comparison methods
* clarify FormatTest expected result naming
* remove unnecessary empty props and targets files
* override SDK for Microsoft.Net.Sdk.WindowsDesktop references in roslyn
* add new EmptySdk in the source build tarball
* remove roslyn solution filter patch
Currently, source-build is failing out-of-the-box on arm64 because ilasm
and friends are missing on arm64.
The errors look like this:
src/source-build-reference-packages.4643b750ccc93ca151eed888da70b67f0198d1fd/artifacts/source-build/self/src/src/targetPacks/ILsrc/microsoft.netframework.referenceassemblies/1.0.2/microsoft.netframework.referenceassemblies.1.0.2.csproj:
error NU1101: Unable to find package
runtime.linux-arm64.microsoft.netcore.ilasm. No packages exist with this
id in source(s): prebuilt, previously-source-built, reference-packages,
source-built
[.dotnet/sdk/6.0.101/NuGet.targets]
Fix this and related errors by ading arm64 artifacts to the bootstrap
step.
This change is sufficient to make source-build work out-of-the-box on
arm64 now using the normal steps:
./build.sh /p:ArcadeBuildTarball=true /p:TarballDir=/some/dir
cd /some/dir
./prep.sh --bootstrap && ./build.sh
* Implement beginnings of C# based tests
* Convert xml dox tests
* Updates per code review
* Fixup of previous commit
* Edits per code review
* Refactor testRunTitle to make distinguishable between build legs
* Exclude omnisharp tests from CentOS 7 CI
* Update src/SourceBuild/Arcade/eng/common/templates/steps/source-build-build-tarball.yml
Co-authored-by: Chris Rummel <crummel@microsoft.com>
Co-authored-by: Chris Rummel <crummel@microsoft.com>
This fixes a regression in .NET 6 source-build compared to the .NET
5 source-build.
source-build wants to publish runtime symbols tarball for portable (eg,
linux-x64) and non-portable (eg, fedora.33-x64) RIDs here after a build.
Following .NET 5 conventions, I expected to see:
./artifacts/x64/Release/runtime/dotnet-runtime-symbols-fedora.34-x64-6.0.0.tar.gz
./artifacts/x64/Release/runtime/dotnet-runtime-symbols-linux-x64-6.0.0.tar.gz
Unfortunately, only the portable RID (linux-x64) tarball is present
after a full source-build in .NET 6.
It turns out this is a bug in our build scripts. We try and copy
binaries - including the symbol tarballs - after building each of
runtime-portable and runtime. However, the target dependency is wrong:
after `Build`, the intermediate package doesn't exist from the
just-built repo.
What ends up happening is that nothing is copied after building
runtime-portable. However, after building runtime, the runtime-portable
intermediate artifacts are found and copied over. So the end
build has portable RID symbos, but not the non-portable ones.
Fix that by changing the dependency of this target so it runs after
intermediate packages are available.