Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(pipeline caching): Add pipeline package caching for nuget and l…
…ibman (#788) * build(pipeline): Added NuGet package caching Add CacheBeta task to azure-pipelines.yml to enable NuGet package caching and hopefully speed up CI builds. Enable creation of packages.lock.json for projects built in pipeline to enable above. * build(pipeline): Added NuGet cache tasks to other stages * build(pipeline): Added LibMan caching * build(pipeline): Fixed "pipeline[s]" typos * build(csproj): Generated packages.lock.json * build(cache): Fixed libman cache key * build(cache): Fixed cache step not using template * build(cache): Changed libman cache key * build(pipeline): Fixed cache template path in prepare-integration-test-steps.yml * pipeline(cache): Made NuGet cache unique per OS * build(nuget): Workaround for failed restore May be encountering this issue: microsoft/azure-pipelines-tasks#11449 Suggested workarounds taken from this comment: NuGet/Home#7921 (comment) * build(cache): Added OS-specific libman cache paths * build(pipeline): Moved variables to main yml file * Remove RestorePackagesWithLockFile from csproj's because that is handles by Directory.Build.Props * Remove RestoreLockedMode from Directory.Build.Props because you want to be able to update the package lock files as a developer * Delete not needed nuget.config files * Regenerate package lock files * Set restore locked mode true on azure pipelines * Never RestoreLockedMode for integration test projects because they are used in an integrationtest scenario * Only use nuget package folders if they contain an entry for our OS, otherwise try deploying embedded vstest binaries * Remove zero check on _vstestPaths * Check if paths exists * ! <> !! * Install dotnet core before running unit tests * fix sonarqube major issue * Update package lock with McMaster.Extensions.CommandLineUtils 2.4.3 * switch back unit test run step * populate cache before running unit tests * Revert "populate cache before running unit tests" This reverts commit a9c5923. * restore caches as first steps everywhere
- Loading branch information