Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore: fix Windows CI
Update scoop installation.
  • Loading branch information
Trott committed Apr 3, 2022
commit dbebdc92fa3695651da97693b3b0d4f80fa6ce11
6 changes: 4 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ jobs:
- name: Install clang for Windows
if: runner.os == 'Windows'
run: |
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
iwr -useb get.scoop.sh -outfile 'install.ps1'
.\install.ps1 -RunAsAdmin
scoop install llvm --global

# Scoop modifies the PATH so we make the modified PATH global.
Expand Down Expand Up @@ -61,7 +62,8 @@ jobs:
- name: Install clang for Windows
if: runner.os == 'Windows'
run: |
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
iwr -useb get.scoop.sh -outfile 'install.ps1'
.\install.ps1 -RunAsAdmin
scoop install llvm --global

# Scoop modifies the PATH so we make the modified PATH global.
Expand Down