Switching to chocolately as for some reason gh-actions doesn't support winget...

This commit is contained in:
Edward R. Gonzalez 2023-03-30 18:20:33 -04:00
parent 263fa66f7f
commit b08ff787a8

View File

@ -18,19 +18,19 @@ on:
jobs: jobs:
build: build:
runs-on: windows-2019 runs-on: windows-latest
steps: steps:
- name: Check out repository - name: Check out repository
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Install Meson, Ninja, and Clang with winget - name: Install Meson, Ninja, and Clang with Chocolatey
shell: pwsh shell: pwsh
run: | run: |
$ErrorActionPreference = "Stop" $ErrorActionPreference = "Stop"
winget install --id=MesonBuild.Meson --exact Set-ExecutionPolicy Bypass -Scope Process -Force
winget install --id=Ninja --exact iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
winget install --id=LLVM --exact choco install -y meson ninja llvm
- name: Run PowerShell build script - name: Run PowerShell build script
shell: pwsh shell: pwsh