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: jobs:
build: build:
runs-on: windows-latest runs-on: windows-2019
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 Scoop - name: Install Meson, Ninja, and Clang with winget
shell: pwsh shell: pwsh
run: | run: |
$ErrorActionPreference = "Stop" $ErrorActionPreference = "Stop"
$env:SCOOP_ALLOW_ADMIN_INSTALL = "1" winget install --id=MesonBuild.Meson --exact
iex (new-object net.webclient).downloadstring('https://get.scoop.sh') winget install --id=Ninja --exact
scoop install meson ninja llvm winget install --id=LLVM --exact
- name: Run PowerShell build script - name: Run PowerShell build script
shell: pwsh shell: pwsh