Граф коммитов

60 Коммитов

Автор SHA1 Сообщение Дата
Gang Wang aa68ac1dda
Check version bump on release branches' update (#10024)
* Check version bump on release branches' update

* Skip check version bump on release branch update for initial commit to release branch or the change from dotnet bot

* Remove the exception for dependencies update by dotnet-maestro[bot]
2024-04-19 10:33:49 +00:00
Jenny Bai 936d9316db
Add one job to test if only documents changed (#9807)
Fixes #9782

Context
Currently workflow runs on every update in the PR and runs the full test on the PR with every update.
However we do not need that when only non source code related changes are made, for instance documentations.
Example of the PR: #9774

Changes Made
Add one pre job with script to check the results of command " git diff --name-only HEAD HEAD~1"

Testing
Test in the draft PR #9812. There are no tests running and tests results uploading
2024-03-05 16:29:56 +08:00
Rainer Sigwald a1ad6b84ff
When time increases by a digit, overwrite NodeStatus (#9563)
Fixes #9562 by triggering a full-line redraw when the length of the duration string increases.
2023-12-21 10:59:15 +01:00
dotnet-maestro[bot] 5410bf3234
Update dependencies from dotnet/arcade dotnet/roslyn nuget/nuget.client (#9041)
* Disable IDE0005

To be correctly enabled, this requires documentation files, which are disabled in our repo at the moment.

* Update dependencies from https://github.com/dotnet/arcade build 20230714.2

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.XUnitExtensions
 From Version 8.0.0-beta.23213.1 -> To Version 8.0.0-beta.23364.2

Dependency coherency updates

Microsoft.SourceLink.GitHub,Microsoft.DotNet.XliffTasks
 From Version 1.1.0-beta-21480-02 -> To Version 8.0.0-beta.23361.2 (parent: Microsoft.DotNet.Arcade.Sdk

* Remove explicit xunit.core and xunit.assert package reference because they are referenced implicitly

* Remove the attributes in Xunit.NetCore.Extensions which are included in Microsoft.DotNet.XUnitExtensions

* Mark obsolete legacy serialization support APIs using the SYSLIB0051 diagnostic code and suppress SYSLIB0050 warning

* Replace Assert.Same with Assert.Equal

* Work around deprecated Serialization/Deserialization of BinaryFormatter

* Use default source-build job template

* Update dependencies from https://github.com/dotnet/roslyn build 20230718.11

Microsoft.Net.Compilers.Toolset
 From Version 4.7.0-3.23361.9 -> To Version 4.8.0-1.23368.11

* Update dependencies from https://github.com/nuget/nuget.client build 6.8.0.35

NuGet.Build.Tasks
 From Version 6.7.0-rc.111 -> To Version 6.8.0-preview.1.35

* Update sourcebuild baselines for Arcade + SDK 8

* Minimize STJ reference

* Suppress CP1002

I think this is being fired because the old package targets net7 and the new one targets net8, causing it to fail to load the old reference. We don't have the references available easily to use PackageValidationReferencePath, so suppressing it.

* Revert PackageVersion of xunit.console back to eng/Package.props and comment on PackageVersion of xunit.core in individual project

* Further simplify xunit ref in extensions library

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Rainer Sigwald <raines@microsoft.com>
Co-authored-by: Jenny Bai <v-jennybai@microsoft.com>
Co-authored-by: Gang Wang <v-gaw@microsoft.com>
Co-authored-by: Michael Simons <msimons@microsoft.com>
2023-07-24 17:16:30 +02:00
Rainer Sigwald 4429ce9fb9 Run release job on preview VS
Move (only) the `Windows Full Release (no bootstrap)` leg to the
`windows.vs2022preview.amd64.open` pool, which has Visual Studio 17.6 on
it already.

This will unblock #8674 by avoiding
https://github.com/dotnet/sdk/issues/32691; the `MSBuild.exe.config`
binding redirects in the 17.6 VS will keep the current versions working
for the moment.
2023-05-23 11:05:30 -05:00
Djuradj Kurepa 1c9cff3730
Update docker tag to the latest schema (#8020)
As a part of dotnet/arcade#10123, we are moving all docker containers to the new tagging schema
2022-10-07 07:58:36 -07:00
Rainer Sigwald 7c568bc1f8 Disable RichCodeNavIndex
Per @alexperovich via email this is a known limitation at the moment.
2022-09-01 09:52:51 -05:00
Rainer Sigwald 7e5c40e7f8
Delete Mono build job (#7127) 2021-12-07 05:27:31 -06:00
dotnet-maestro[bot] eddb9120bd
[main] Update dependencies from dotnet/arcade (#6981)
* Update dependencies from https://github.com/dotnet/arcade build 20211021.6

Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.Arcade.Sdk
 From Version 6.0.0-beta.21519.3 -> To Version 6.0.0-beta.21521.6

* Update dependencies from https://github.com/dotnet/arcade build 20211022.3

Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.Arcade.Sdk
 From Version 6.0.0-beta.21519.3 -> To Version 6.0.0-beta.21522.3

* Update dependencies from https://github.com/dotnet/arcade build 20211108.5

Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.Arcade.Sdk
 From Version 6.0.0-beta.21519.3 -> To Version 6.0.0-beta.21558.5

* Update dependencies from https://github.com/dotnet/arcade build 20211110.2

Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.Arcade.Sdk
 From Version 6.0.0-beta.21519.3 -> To Version 6.0.0-beta.21560.2

* Update dependencies from https://github.com/dotnet/arcade build 20211111.4

Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.Arcade.Sdk
 From Version 6.0.0-beta.21519.3 -> To Version 6.0.0-beta.21561.4

* Update dependencies from https://github.com/dotnet/arcade build 20211112.1

Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.Arcade.Sdk
 From Version 6.0.0-beta.21519.3 -> To Version 6.0.0-beta.21562.1

* Update dependencies from https://github.com/dotnet/arcade build 20211115.3

Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.Arcade.Sdk
 From Version 6.0.0-beta.21562.1 -> To Version 6.0.0-beta.21565.3

* Update dependencies from https://github.com/dotnet/arcade build 20211116.8

Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.Arcade.Sdk
 From Version 6.0.0-beta.21519.3 -> To Version 6.0.0-beta.21566.8

* Manually update latest to 2022

* Re-remove reference to netcore 2.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Forgind <Forgind@users.noreply.github.com>
2021-11-22 10:43:55 -06:00
Forgind 7434b575d1
Update mac version for CI (#7039)
macOS-10.14 is being deprecated December 2021.
2021-11-16 15:59:15 -08:00
Rainer Sigwald 240146c5ed Switch to VS 2022 pools 2021-10-04 14:44:50 -05:00
Rainer Sigwald 813f854be4
Move RichCodeNav to its own job (#6505)
It's taking longer than we initially hoped so moving it to get it off the critical path.
2021-06-02 11:48:58 -07:00
Mihai Codoban bf95687fce
Merge branch 'main' into merge/vs16.11-to-main 2021-06-01 16:25:33 -07:00
Michael Simons 4d6df82741
Onboarding to ArPow (arcade-powered source-build) (#6387)
This PR does the following:

Adds the local build infrastructure that lets ArPow (arcade-powered source-build) run in this repo. See https://github.com/dotnet/source-build/blob/master/Documentation/planning/arcade-powered-source-build/onboarding/local-onboarding.md for more details about how it works.

To try it out locally, run this on Linux: ./build.sh -c Release --restore --build --pack /p:ArcadeBuildFromSource=true -bl

Implements source-build CI.

To make sure ArPow (arcade-powered source-build) keeps working in this repo, we need to add it to PR validation. We also need it to run in the official build to publish source-built artifacts that can be tested downstream.

See https://github.com/dotnet/source-build/blob/master/Documentation/planning/arcade-powered-source-build/onboarding/ci-onboarding.md for ArPow CI onboarding info.

Incorporates the existing source-build patches into the repo.

Some background on source-build patches, for anyone who isn't familiar with previous pushes for patch incorporation:

A patch is essentially just a commit that has been extracted from Git into a .patch file that can be applied on demand. The effort to build .NET from source involves creating patches because repos make changes that are incompatible with source-build and need to be fixed up after the original released source code has already been finalized. When the original repo gets PRs over time for servicing, the PR changes sometimes conflict with the source-build patches, just like a merge conflict. The patch files need to be fixed up when this happens, which is a significant maintenance problem for the source-build team.

Several times, the source-build team has pushed for "patch incorporation". This means to merge the commit represented in the .patch file into the original repo's official branch. Doing so prevents patch merge conflicts, because there's no longer a patch to merge against. However, patches inevitably pile up again when getting subsequent servicing releases to work in source-build.

ArPow lets us end this maintenance-heavy process. By running source-build inside CI, patch merge conflicts will immediately block PR validation, so fixup can be handled in place, not solely by the source-build team. Running source-build in CI also means creating new patches won't be necessary except in exceptional circumstances.

See https://github.com/dotnet/source-build/blob/master/Documentation/planning/arcade-powered-source-build/implementation-plan.md for more details on the ArPow implementation plan.

Fixes: dotnet/source-build#2068.
2021-06-01 14:01:30 -07:00
Rainer Sigwald 485361da1c
Update PublishTestResults patterns (#6489)
These should have been changed when we updated past .NET Core 2.1 but were missed.
2021-05-27 23:50:58 -07:00
Forgind 37dde82aea
Update ubuntu version (#6488) 2021-05-27 23:50:23 -07:00
Ben Villalobos c98a50ff76
Change references from master to main (#6259) 2021-03-16 12:18:39 -07:00
Ben Villalobos 13522d2466
Add main as a CI & pipeline trigger (#6258) 2021-03-15 12:21:47 -07:00
Mihai Codoban f8d5553304
Disable Mono CI (#6059)
Until it can parse C# 9 syntax. Followed by issue #6058
2021-02-03 16:16:16 -08:00
Jessica Petty 0d9652e75b
Add Rich Code Navigation Indexing (#5790)
* Add Rich Navigation to shortest Windows build

Co-authored-by: Rainer Sigwald <raines@microsoft.com>
2020-10-13 10:42:16 -07:00
Rainer Sigwald 9eb5d09e6c
Revert "Switch to Pipeline Artifacts (#5062)" (#5427)
This reverts commit 5292fedb9b.

Causes spurious failures on PR build rerun like

```
##[error]Artifact FullOnWindows build logs already exists for build 683197.
```

https://dev.azure.com/dnceng/public/_build/results?buildId=683197&view=logs&j=9f11c3b6-ab7b-5d31-db2e-f92a12840391&t=161d3658-037b-58d7-7ae4-bd96b8f471dc&l=30

Many DevComm issues on this, for instance https://developercommunity.visualstudio.com/content/problem/774908/publish-artifact-fails-when-retry-failed-job.html

Just reverting the whole thing to get back to known-good.
2020-06-15 14:04:30 -05:00
Rainer Sigwald 5292fedb9b
Switch to Pipeline Artifacts (#5062)
Find/replace on the string differences in our two build definitions.

This artifact type is intended to be more efficient and replace Build Artifacts.

See https://docs.microsoft.com/en-us/azure/devops/pipelines/artifacts/pipeline-artifacts

The PackageArtifacts and AssetManifests artifacts are now published
within the build by Arcade (dotnet/arcade#2172).
2020-06-10 11:02:53 -05:00
Rainer Sigwald 983b912225 macOS Mono CI 2019-12-05 13:01:25 -06:00
Rainer Sigwald be87098d3c More accurate CI step display names 2019-10-22 11:54:57 -05:00
dotnet-maestro[bot] a4878e187d
[master] Update dependencies from dotnet/arcade (#4783)
* Update dependencies from https://github.com/dotnet/arcade build 20191002.6

- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19502.6

* Migrate to Azure Artifacts feed for tools

* Match repo-local version references to 3.0.100

* NuGet packages that get deployed into bootstrap
* the SDK itself

* Include RuntimeIdentifierGraph.json in bootstrap

Avoids errors when building with the bootstrapped build like

```
src/MSBuild/MSBuild.csproj(0,0): error NU1007: The runtime.json specified in the project '/Users/vsts/agent/2.158.0/work/1/s/stage1/bin/bootstrap/netcoreapp2.1/MSBuild/RuntimeIdentifierGraph.json' could not be found.
```

* NuGet 5.3 warnings

* Explicitly specify 4.7.2 in CoreXT package
* Use in-package icon rather than URL

* Use hosted pool

For reasons I don't fully understand, specifying the 'Hosted' pool name
caused the use of different machines, even though it seems like it's
redundantly specifying the default. Removing the specification entirely
assigns to the machines I expect.
2019-10-09 21:59:56 +00:00
Livar fc0d44bdf5
Setting continueOnError: true on publish tasks (#4653)
This is being used on other repos as well.

Currently, builds are failing because of this.
2019-08-23 10:08:12 -07:00
Rainer Sigwald acc2569a30 Uniquify test run names for Windows/Core (#4563) 2019-07-30 13:58:25 -07:00
Rainer Sigwald 701bcbcdeb Shorter displayNames for CI jobs
This avoids truncation in various parts of the Pipelines UI.
2019-07-10 13:56:15 -05:00
Rainer Sigwald d0680b65fb Disambiguate Core logs from Full 2019-07-10 13:53:04 -05:00
Rainer Sigwald d28f751947 Remove non-bootstrap Windows CI
This is redundant with the bootstrapped CI jobs and the Release one which doesn't bootstrap.
2019-07-10 13:53:04 -05:00
Rainer Sigwald 07d3c25a14
Bootstrapped build in macOS CI job (#4278)
Slightly extend test coverage by running the second-stage build on macOS too.
2019-07-03 16:37:05 -05:00
Rainer Sigwald 2567a33f43
Update dependencies from dotnet/arcade (#4297) 2019-05-10 12:03:53 -05:00
Rainer Sigwald 1ebc931403 Require VS 2019
Since Arcade pushed to SDK 2.2.203, the easiest thing to do is move to
requiring Visual Studio 2019, which can use that SDK. We'll need to do
so at some point in the future, anyway, to get .NET Core 3.0.

Update toolset dependency to new CLI version, including NuGet, to
support the bootstrap build.
2019-05-10 10:41:12 -05:00
Rainer Sigwald ad89360387
Always copy build logs and test results (#4360)
succeededOrFailed() evaluates to false when the job is cancelled (as due to a timeout), which makes diagnosing test hangs difficult. Instead, always capture whatever logs and test output exists.
2019-05-10 09:45:01 -05:00
Rainer Sigwald 7d54e5bc79
Enable initial build with Core in CI (#4277)
Fixes #4001 by switching the initial build of the bootstrapped-core job
to also be driven by core MSBuild.

Changes the `-hostType` parameter of `cibuild_bootstrapped_msbuild` to
`-msbuildEngine` to match the Arcade build option.
2019-04-17 14:57:26 -05:00
Livar 6afde4a6c8 Fixing PR validation by using the eng/cibuild.cmd script that properly sets ibc training options. 2019-02-05 12:51:02 -08:00
Rainer Sigwald 249fb482d5 Remove CoreOnLinux job
This is no longer useful since it covers only scenarios that are well-
covered by the CoreBootstrappedOnLinux job.
2019-01-31 11:52:38 -06:00
Rainer Sigwald 5e07a05a4f
Update Azure DevOps YAML element names (#4080)
* phase -> job
* queue -> pool
2019-01-22 12:37:17 -06:00
Livar Cunha 2dee6b448a Fixing boostrap builds. They fail because the log folder is non-existant. 2018-12-18 15:45:53 -08:00
Livar 96defd8025 Updating YAML files to not require developer prompt and fixing cross-plat build. 2018-12-18 15:45:53 -08:00
Livar Cunha ab32762ce0 Adding a bootstrapp leg for core msbuild on linux. 2018-12-18 15:45:52 -08:00
Livar 0c94bff94a Fixing YAML for proper invocation of scripts and also fixed xunit analyzer failures for new tests. 2018-12-18 15:45:52 -08:00
Livar 21f0cc8fdd Adding bootstrapping CI. 2018-12-18 15:45:52 -08:00
Livar 5b3f83f946 Disable HostType CI. 2018-12-18 15:45:51 -08:00
Parallels ee12fa7e2e Making the build always use a locally acquired SDK and fixing the log paths for one of the windows legs. 2018-12-18 15:45:51 -08:00
Livar Cunha 642f49260b Making CI build only msbuild.sln solution. Otherwise, we run into race conditions due to building multiple solutions at the same time. 2018-12-18 15:45:51 -08:00
Livar Cunha 6dc01844da Fixing log paths in yaml file. 2018-12-18 15:45:51 -08:00
Livar c7011a49b4 Pointing vsts-dotnet-ci to eng/common/cibuild.cmd. 2018-12-18 15:45:51 -08:00
Mihai Codoban 9a79f545e9 enable tests on release 2018-11-21 11:40:56 -08:00
Mihai Codoban 831c2c4d78 Build release in CI 2018-11-20 17:18:35 -08:00