This change moves most test build logic from the scripts src/tests/build.cmd and src/tests/build.sh into the common MSBuild script src/tests/build.proj; the scripts stay in place but now they only deal with parsing the command-line parameters and building native test components, all remaining functionality is delegated to the common project.
Thanks
Tomas
* Updated channel passed to ci_setup in the performance-setup.sh file.
* Removed spaces from assignments so they are seen as actual variabls, and tested locally.
* Update dependencies from https://github.com/dotnet/linker build 20211004.1
Microsoft.NET.ILLink.Tasks
From Version 7.0.100-1.21501.1 -> To Version 7.0.100-1.21504.1
* Update dependencies from https://github.com/dotnet/linker build 20211004.4
Microsoft.NET.ILLink.Tasks
From Version 7.0.100-1.21501.1 -> To Version 7.0.100-1.21504.4
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
* Add back the nethost archive.
This archive makes it a bit easier for developers to pull down nethost in a non-.NET environment (without NuGet). We had this in 3.1, but it was lost at some point between then and now with all of the large infrastructure changes.
* Fix symbols copying.
* Create the symbols archive for nethost
* Update src/installer/pkg/archives/dotnet-nethost.proj
Co-authored-by: Juan Hoyos <[email protected]>
* Update src/installer/pkg/archives/dotnet-nethost.proj
Co-authored-by: Elinor Fung <[email protected]>
* Update src/installer/pkg/archives/dotnet-nethost.proj
* Symbols are in the PDB folder.
* Fix symbol paths for xplat.
* Update src/installer/pkg/archives/dotnet-nethost.proj
* Update src/installer/pkg/archives/dotnet-nethost.proj
Co-authored-by: Viktor Hofer <[email protected]>
* Update src/installer/pkg/archives/dotnet-nethost.proj
Co-authored-by: Viktor Hofer <[email protected]>
Co-authored-by: Juan Hoyos <[email protected]>
Co-authored-by: Elinor Fung <[email protected]>
Co-authored-by: Viktor Hofer <[email protected]>
This allows consuming the dotnet host that was just built instead of relying on a downloaded one.
We need to move the `host` subset build before the `libs` subset so that the artifacts are available before externals.csproj runs.
Microsoft.NET.ILLink.Tasks
From Version 7.0.100-1.21479.1 -> To Version 7.0.100-1.21501.1
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
* Make libraries tests use the same config as the matching libraries build.
This change is useful in two ways:
1. It simplifies our CI build dependency graph so that we don't have a windowx x86 job depending on a windows x64 job to finish first.
2. It unblocks #59579 which introduces an arch-dependent native component into the libraries tests with DNNE.
* Mark one of the win x86 runs as release.
* Remove testBuildPlatforms.
* Build debug Linux_arm/Linux_musl_arm/Linux_musl_arm64 libraries builds on PR.
* Update to only new libraries Debug builds to run on a coreclr change in PR.
* Upload test artifacts with os subgroup name
* Use a "preprocessor if" instead of a condition for isFullMatrix.
* Fix conditions based on feedback.
* Fix incorrect condition.
* Don't run tests locally when we're running tests using Helix.
Invoke-WebRequest throws an exception when the download fails, so we
should use try-catch instead of status code to check failure. We can use
the generic Retry function from tools.ps1 to do this.
In addition pass -PassThru to avoid leaving a corrupted download file in
case the download fails. This will buffer the download and write it once
at the end.
Fix#57196
* Build one MonoTargetsTasks assembly for Mono.NET.Runtime.MonoTargets.Sdk pack
Instead of 3 assemblies for some tiny tasks.
Building a single assembly also ensures that everything in the pack depends on and bundles identical versions of dependent assemblies. For example on net472, a single version of System.Text.Json with a single fixed version shared by both the JsonToItemsTaskFactory task factory and the RuntimeConfigParser task.
Related to https://github.com/dotnet/runtime/issues/59619
* Update testing and wasm to use MonoTargetsTasks.dll
* Move assembly stripper to a separate assembly
Build it with nullability checking disabled.
Build the main MonoTargetsTasks assembly with nullability enabled
* Don't include msbuild assemblies in MonoTargets package
* re-enable analyzers for the MonoTargetsTasks assembly
* Include *.dll in the MonoTargetsTasks nupkg
In particular, pick up all the dependent assemblies for the net472 build
* Update various READMEs
* remove unneeded target
* Switch ILStrip to use the same Parallel.ForEach logic as MonoAOTCompiler
* Remove unneeded NoWarn warnings
* rearrange package references in MonoTargetsTask.csproj for readabilty
* More ItemGroup reformatting
* fix nits
* Use SystemThreadingTasksExtensionsVersion instead of hardcoding
Co-authored-by: Ankit Jain <[email protected]>
* Rev Alpine WithNode from 3.9 to 3.13
Also,
* update helix queues from 3.12 to 3.13
* add 3.14 helix queues
* update performance job to install cargo from main branch
* Add Alpine 3.13 in rolling CI
* Add missing closing paren
- Fix for a incremental build issue
- Change native build defaults for `Debug` config, to make it faster (thanks @SteveSandersonMS, @mattleibow)
- MonoAOTCompiler:
- Skip unmanaged assemblies, and emit a warning
- PInvokeTableGenerator:
- Fix to not fail in presence of native variadic functions, and pinvokes with function pointers (eg. used by sqlite)
Co-authored-by: Larry Ewing <[email protected]>
* Use public helix queue
* Remove helix queue setup from python
* Remove unnecessary comments
* TOREVERT: Download specific artifacts
* change creator to dotnet-bot
* set Creator
* run only for windows x64
* Publish antigen build logs
* put in quotes
* use correct script for helix queue
* Set some helix variables:
* Use Helix properties in proj
* Include the display name
* Revert specific build
* Add continueOnError to display warnings
* Exploratory tool pipeline
Add pipeline to run exploratory tools and return back the result
* Use public Antigen repo
* Add RunDuration
* Rename some of the files to antigen
* TOREVERT: download specific artifacts
* Trigger nightly and on PRs
* Adjust the duration
* Exit on fail for Antigen
* Rename yml files
* Add Antigen.md
* Temporarily run for 10 minutes
* Remove non-x64 build download and helix workaround
* Add back HelixResultsDestinationDir
* Change to net6.0
* extra ,
* Antigen is still on net5.0
* Default framework net6.0
* Run for 3 hours
* Run full build
* fix space
* Make the schedule weekly Sun@6am
* Reduce duration to 2 hours
* throw errow if assembly version in the ref pack doesnot match last released version
* Fix the condition
* Update eng/Versions.props
Co-authored-by: Viktor Hofer <[email protected]>
Co-authored-by: Anirudh Agnihotry <[email protected]>
Co-authored-by: Anirudh Agnihotry <[email protected]>
Co-authored-by: Viktor Hofer <[email protected]>
The Helix SDK in arcade supports test retries in Helix by reading this file, "test-configuration.json" if it's present.
This sets up any test who's assembly name starts with System.Net.* to have 3 attempts (2 reruns) locally.
* add uploading of intermediate package assets
* dont push or sign sourcebuild packages in normal leg to avoid duplication
* add comments
Co-authored-by: Anirudh Agnihotry <[email protected]>