mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-08 17:54:23 +01:00
* adding smoke tests and unit tests to pipeline
* making tests parallel
* fixing indentation
* adding test type
* building once and running the tests separately
* creating log and crashes folders
* moving the directory creation
* smoke-flaky: create .build/crashes,logs after checkout, not before
checkout: self (invoked inside product-build-*-compile.yml@self) wipes any
files created earlier in the job on hosted agents, so the previous
mkdir-first placement was silently undone by the time the non-production
artifact publish steps ran. Move the directory-creation step to run after
the compile template (which performs checkout) and mark it
condition: always() so it still runs if compile or a later step fails.
* adding fix for window build failure
* smoke-flaky win32: fix 7z archive/extract bugs
- Quote the wildcard source path in the workspace archive step: unquoted,
PowerShell expands \* against the filesystem before 7z.exe runs, which
overflows the command-line length and corrupts the trailing -xr!.git
switch ("Too short switch / r!").
- Stop sourcing exec.ps1 before extracting repo.zip in the Unit/Integration/
Smoke jobs' extract steps: those jobs use checkout: none, so exec.ps1
(which lives in the repo) does not exist until repo.zip is extracted.
Use a plain $LASTEXITCODE check instead.
* fix(pipelines): use absolute path to exec.ps1 in steps with overridden workingDirectory
The 'Archive packaged app' and 'Archive packaged server' steps set
workingDirectory to $(Agent.BuildDirectory) (the parent of the sources
folder), but still sourced exec.ps1 via a path relative to the sources
root, which only resolves when the working directory is the sources
folder itself. Use an absolute path built from $(Build.SourcesDirectory)
instead.
* kill lingering integration test processes
* removing duplication
* removing duplication