Skip to content

Commit

Permalink
CI: Fix install scoop on Windows
Browse files Browse the repository at this point in the history
It now requires the `-RunAsAdmin` argument.
  • Loading branch information
akien-mga committed Mar 9, 2022
1 parent b6c18d4 commit 51fcb62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ jobs:
python -m pip install scons
- name: Windows GCC dependency
if: ${{ matrix.platform == 'windows' }}
if: ${{ matrix.platform == 'windows' && matrix.flags == "use_mingw=yes" }}
# Install GCC from Scoop as the default supplied GCC doesn't work ("Error 1").
run: |
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
scoop install gcc
scoop -RunAsAdmin install gcc
g++ --version
gcc --version
Expand Down

0 comments on commit 51fcb62

Please sign in to comment.