diff options
author | Igor Matuszewski <igor@sequoia-pgp.org> | 2020-10-01 14:22:45 +0200 |
---|---|---|
committer | Igor Matuszewski <igor@sequoia-pgp.org> | 2020-10-01 14:22:45 +0200 |
commit | 44b286c697c01422a8ffd548585f612263437956 (patch) | |
tree | 1c3d65b69507cf99cbc749eaee01fd749b3e71f5 | |
parent | b3ed8e3a2efcbf47b20358a497668d3df202d53a (diff) |
ci: Remind me the execution time of the shared runner for MSVC
-rw-r--r-- | .gitlab-ci.yml | 29 |
1 files changed, 7 insertions, 22 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b7a16594..600ddcf8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -110,40 +110,25 @@ windows-gnu: windows-msvc: tags: - - win - - win2019 + - shared-windows + - windows stage: build - # This job takes ~40 minutes to run, let's only execute it manually or for - # scheduled builds, otherwise this will stall MRs often not related to Windows only: - /windows/i # refs containing 'windows' keyword - tags - web - scheduled before_script: - - $env:USERNAME - - $env:USERPROFILE - # Install VS 2019 VC++ Build Tools (Required for Rust on Windows) - - Get-Date - - Invoke-WebRequest https://aka.ms/vs/16/release/vs_buildtools.exe -OutFile vs_buildtools.exe - # Wait until the VC++ Build Tools installation is completed. - # See https://github.com/MicrosoftDocs/visualstudio-docs/issues/970 - - > - $exitCode = Start-Process - -FilePath vs_buildtools.exe - -ArgumentList "--norestart", "--quiet", "--nocache", "--add", "Microsoft.VisualStudio.Workload.VCTools", "--includeRecommended", "--wait" - -Wait - -PassThru - # Install Rust 1.40 - Get-Date - $env:CARGO_HOME = "$env:ProgramFiles\cargo" - $env:RUSTUP_HOME = "$env:ProgramFiles\rustup" - Invoke-WebRequest https://win.rustup.rs -OutFile rustup-init.exe - - .\rustup-init.exe -y --default-toolchain 1.46.0 --default-host x86_64-pc-windows-msvc --profile minimal - - $env:Path += ";$env:ProgramFiles\cargo\bin" + - .\rustup-init.exe -y --default-toolchain none --default-host x86_64-pc-windows-msvc --profile minimal - Get-Date - - rustup --version - - rustc --version --verbose + - refreshenv + - Get-Date + - rustup -V + - rustc -vV script: - cd openpgp # https://github.com/rust-lang/cargo/issues/5015 |