mirror of
https://github.com/Ed94/refactor.git
synced 2024-12-22 06:54:44 -08:00
Switching to chocolately as for some reason gh-actions doesn't support winget...
This commit is contained in:
parent
263fa66f7f
commit
b08ff787a8
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user