GH-Actions: Using winget instead, win-server 2019.

This commit is contained in:
Edward R. Gonzalez 2023-03-30 18:13:45 -04:00
parent 6e9d35cb37
commit 263fa66f7f

View File

@ -18,19 +18,19 @@ on:
jobs:
build:
runs-on: windows-latest
runs-on: windows-2019
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Install Meson, Ninja, and Clang with Scoop
- name: Install Meson, Ninja, and Clang with winget
shell: pwsh
run: |
$ErrorActionPreference = "Stop"
$env:SCOOP_ALLOW_ADMIN_INSTALL = "1"
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
scoop install meson ninja llvm
winget install --id=MesonBuild.Meson --exact
winget install --id=Ninja --exact
winget install --id=LLVM --exact
- name: Run PowerShell build script
shell: pwsh