update scoop installation for Windows CI

release/4.3a0
Varun Agrawal 2022-03-11 12:33:53 -05:00
parent 23c6a7e392
commit b7932957da
1 changed files with 3 additions and 1 deletions

View File

@ -48,7 +48,9 @@ jobs:
- name: Install Dependencies
shell: powershell
run: |
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
iwr -useb get.scoop.sh -outfile 'install_scoop.ps1'
.\install_scoop.ps1 -RunAsAdmin
scoop install cmake --global # So we don't get issues with CMP0074 policy
scoop install ninja --global