mirror of
https://github.com/Ed94/refactor.git
synced 2024-12-21 22:44:45 -08:00
GH-Actions: Using winget instead, win-server 2019.
This commit is contained in:
parent
6e9d35cb37
commit
263fa66f7f
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user