Commit Graph
2792 Commits
Author SHA1 Message Date
Bruce Forstall f21a3155c2 Switch Windows Checked build to -O2 from -O1 (#59235)
That is, optimize for speed, not for size.

Don't do this for Windows x86, due to
https://github.com/dotnet/runtime/issues/59845
2021-10-06 22:15:14 -07:00
Aaron Kunkle d2a05e3429 Fix performance-setup Function Definitions (#60102)
* Fix function definitions
2021-10-06 16:01:03 -07:00
Larry Ewing 74ba1330fa [workloads] Use the dual signed wix version for workload msis (#59500)
* Use the dual signed wix version for workload msis

* Update signed wix version to 1.0.0-v3.14.0.5722
2021-10-06 17:23:08 -05:00
Tomáš Rylek be918580c7 Cleanup of runtime test build scripts (#58762)
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
2021-10-06 21:04:27 +02:00
Aaron Kunkle a442df07a5 Fix errors from earlier performance-setup PR (#60073) 2021-10-06 09:51:51 -07:00
Parker Bibus b3f21a045f Updated channel passed to ci_setup in the performance-setup.sh file. (#60034)
* 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.
2021-10-06 09:50:38 -07:00
dotnet-maestro[bot]anddotnet-maestro[bot] 8486eacfa3 [main] Update dependencies from dotnet/linker (#59931)
* 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>
2021-10-06 10:42:00 +02:00
Krzysztof Wicher d14366c798 Rollback changes breaking rolling builds (#60040)
* Revert "CI matrix update: add Ubuntu 21.04 (#59578)"

This reverts commit 127a498bfe.

* Revert "CI matrix: add openSUSE 15.2 (#59574)"

This reverts commit f9025ae80e.

* Revert "CI matrix change: add Windows.Server.Core.20H2 (#59572)"

This reverts commit 5ab435e1fa.
2021-10-06 01:25:17 +02:00
Aaron Kunkle 191c60e679 Nonzero Exit Code for performance-setup Failures (#59483)
* failed git clone causes script failure

* Failure notification for moves & copies

* Fix robocopy failure detection

* Use functions to verify

* Close shell ifs

* Remove unintended tabs
2021-10-05 15:27:05 -07:00
Santiago Fernandez Madero eed2e5e6e1 Pin compiler version to workaround package validation loading missmatching roslyn versions (#60026) 2021-10-05 15:23:27 -07:00
01fdc9068e Add back the nethost archive. (#59847)
* 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]>
2021-10-05 13:08:11 -07:00
Richard Alloway ec15b53daa Rocky Linux support (#59178)
* Rocky Linux support

* Remove references to Rocky Linux minor version 8.4
2021-10-05 11:28:03 -07:00
Jose Perez Rodriguez 8ddd92b338 Update CompatibilitySuppressions files after upgrading Package Validation logic (#59955) 2021-10-05 09:58:19 -07:00
Alexander Köplinger cab3a63fe3 Use live-built corehost on s390x for creating testhost (#58952)
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.
2021-10-05 17:58:40 +02:00
Adeel Mujahid d96100a496 Fix a macro usage and cleanup stale comment (#59907) 2021-10-04 17:50:40 -07:00
Jeremy Koritzinsky 98a9a9fde7 Don't try to build and archive/run libraries tests on official builds. (#59953) 2021-10-04 13:18:16 -07:00
355a8cf12b [main] Update dependencies from dnceng/internal/dotnet-optimization dotnet/xharness dotnet/roslyn-analyzers dotnet/msquic (#59905)
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Premek Vysoky <[email protected]>
2021-10-04 11:01:38 +02:00
Stephen Toub e118d3fc71 Update Microsoft.CodeAnalysis.CSharp.CodeStyle version (#59783) 2021-10-03 10:14:02 -04:00
dotnet-maestro[bot]anddotnet-maestro[bot] 87b928ab37 Update dependencies from https://github.com/dotnet/linker build 20211001.1 (#59894)
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>
2021-10-02 08:27:15 -07:00
Santiago Fernandez Madero fd5a65c38e Move runtime rolling builds to run twice a day on main (#59884)
* Move runtime rolling builds to run twice a day on main

* Update eng/pipelines/runtime.yml
2021-10-01 21:38:23 -06:00
Jeremy Koritzinsky 7a220e0f3c Make libraries tests use the same config as the matching libraries build. (#59867)
* 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.
2021-10-01 18:29:31 -07:00
Adeel Mujahid ce99c5658c Use ProductVersion in how-to-debug-dump (#59848)
* Use ProductVersion in how-to-debug-dump
2021-10-01 10:05:14 -07:00
Adeel Mujahid 0c7b6090da Pass directory path from call-site (#59858) 2021-10-01 09:35:40 -07:00
dotnet-maestro[bot]anddotnet-maestro[bot] 97ae5ccd64 [main] Update dependencies from 9 repositories (#59856)
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2021-10-01 15:33:46 +02:00
dotnet-maestro[bot]anddotnet-maestro[bot] 70cb44e699 [main] Update dependencies from dotnet/linker (#59805)
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2021-10-01 12:57:04 +02:00
dotnet-maestro[bot] 2f4efaf20a [main] Update dependencies from dotnet/arcade dotnet/hotreload-utils dnceng/internal/dotnet-optimization (#59256)
[main] Update dependencies from dotnet/arcade dotnet/hotreload-utils dnceng/internal/dotnet-optimization


 - Merge branch 'main' into darc-main-61786f4e-24d3-4a12-aded-829376797d8c

Conflicts:
	eng/Version.Details.xml
	eng/Versions.props
2021-10-01 10:33:15 +00:00
Santiago Fernandez Madero 918aaec1d9 Update WCF dependencies on the compat pack (#59764) 2021-09-30 10:46:24 -07:00
Jakob Botsch Nielsen 5e4bd4051b Fix retry when downloading clang tools (#59806)
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
2021-09-30 19:14:24 +02:00
Aleksey Kliger (λgeek)andAnkit Jain acb00500a0 Build one MonoTargetsTasks assembly for Microsoft.NET.Runtime.MonoTargets.Sdk pack (#59720)
* 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]>
2021-09-30 11:13:26 -04:00
Mitchell HwangandMitchell Hwang fcb73d8158 Remove ILStrip temporarily to retain ActiveIssue attributes in release mobile device configuration (#59762)
* Remove ILStrip temporarily to retain ActiveIssue attributes in release mobile device configuration

* Add Android Active Issue

Co-authored-by: Mitchell Hwang <[email protected]>
2021-09-30 10:30:00 -04:00
Jan Jahoda 127a498bfe CI matrix update: add Ubuntu 21.04 (#59578) 2021-09-30 16:05:11 +02:00
Jan Jahoda f9025ae80e CI matrix: add openSUSE 15.2 (#59574) 2021-09-30 16:04:29 +02:00
Jan Jahoda 5ab435e1fa CI matrix change: add Windows.Server.Core.20H2 (#59572)
* Add Windows.Server.Core.20H2 to CI matrix

* add windows server 20H2

* Remove 20H2 from PR

* Remove 20H2 from PR run
2021-09-30 15:59:39 +02:00
Adeel Mujahid 37e1ba1f35 Update how-to-debug-dump template (#59798)
* Update how-to-debug-dump template

* Address CR feedback

* Update windows instructions

* Use backslashes on Windows
2021-09-30 15:13:07 +02:00
Adeel Mujahid a50e1e6f6f Rev Alpine WithNode from 3.9 to 3.13 (#57324)
* 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
2021-09-30 02:36:23 -07:00
Jan Jahoda 9556913857 CI matrix change: debian+centos+sles (#58988)
* CI matrix change: debian+centos+sles

* Adjust the CI matrix based on latest comments
2021-09-30 09:53:52 +02:00
424aea9450 [main] Update dependencies from dotnet/linker (#59257)
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: vitek-karas <[email protected]>
2021-09-30 08:48:46 +02:00
Ankit JainandLarry Ewing 80f015da0f [wasm] Build improvements based on feedback (#59391)
- 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]>
2021-09-30 00:53:21 -04:00
Stephen Toub b42803d0ee Add new analyzers to CodeAnalysis.globalconfig files (#59763) 2021-09-29 22:08:35 -04:00
Adeel Mujahid 72d643d05a Use new cross-build images for arm/arm64 builds (#59534) 2021-09-29 10:43:21 +02:00
Kunal Pathak 8adff3497b Antigen: Change Antigen's helixqueue to public (#59657)
* 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
2021-09-28 19:51:48 -07:00
Alex Perovich d690dcd7eb Only run source-index on main branch. (#59725) 2021-09-28 20:28:52 -04:00
Ankit Jain 0c0bd5a406 [wasm] windows: Fail the build if provisioning fails (#59560) 2021-09-27 11:47:26 +02:00
Kunal Pathak 78ac8430e8 Pipeline to run Exploratory fuzzing tool to catch codegen issues (#59489)
* 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
2021-09-26 21:57:36 -07:00
Tomas Weinfurt c344d64b05 enable client certificate test for QUIC on Linux (#59544) 2021-09-24 16:12:27 -07:00
74a09b0d0c [main] [Release/6.0] Throw error if assembly version for ref pack assemblies doesnot match assembly version shipped in 6.0.0 (#59583)
* 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]>
2021-09-24 15:52:40 -07:00
Jeremy Koritzinsky a526e77b6d Move clang-format download into dotnet/runtime and add docs for setting up auto-formatting in the repository (#59374) 2021-09-23 14:34:00 -07:00
Jeremy Koritzinsky b0872284c9 Remove unused crossIBC.ps1 script (#59530) 2021-09-23 14:28:42 -07:00
Chad Nedzlek 19adeff210 Setup retry for System.Net.* tests (#57370)
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.
2021-09-22 18:05:58 -07:00
github-actions[bot]andAnirudh Agnihotry 03fbaa5e57 [main] [Release/6.0] Add uploading of intermediate package assets (#59490)
* 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]>
2021-09-22 13:43:23 -07:00