mirror of
https://github.com/Boof2015/prism.git
synced 2026-08-12 05:10:51 +02:00
fix another another ci error
This commit is contained in:
@@ -75,9 +75,21 @@ jobs:
|
||||
if: runner.os == 'macOS'
|
||||
run: cmake -B plugin/build -S plugin -DCMAKE_BUILD_TYPE=Release
|
||||
|
||||
# JUCE's NEEDS_WEBVIEW2 expects the Microsoft.Web.WebView2 NuGet package
|
||||
# to already be installed locally; it doesn't fetch it itself. Install it
|
||||
# and point CMake at the resulting folder via JUCE_WEBVIEW2_PACKAGE_LOCATION.
|
||||
- name: Install WebView2 SDK (Windows)
|
||||
if: runner.os == 'Windows'
|
||||
shell: pwsh
|
||||
run: |
|
||||
$sdkRoot = "$env:RUNNER_TEMP\webview2"
|
||||
New-Item -ItemType Directory -Force -Path $sdkRoot | Out-Null
|
||||
nuget install Microsoft.Web.WebView2 -Version 1.0.1901.177 -OutputDirectory $sdkRoot -ExcludeVersion
|
||||
"JUCE_WEBVIEW2_PACKAGE_LOCATION=$sdkRoot" >> $env:GITHUB_ENV
|
||||
|
||||
- name: Configure JUCE plugins (Windows)
|
||||
if: runner.os == 'Windows'
|
||||
run: cmake -B plugin/build -S plugin -G "Visual Studio 17 2022" -A x64
|
||||
run: cmake -B plugin/build -S plugin -G "Visual Studio 17 2022" -A x64 -DJUCE_WEBVIEW2_PACKAGE_LOCATION="$env:JUCE_WEBVIEW2_PACKAGE_LOCATION"
|
||||
|
||||
- name: Build JUCE plugins
|
||||
if: runner.os != 'Linux'
|
||||
|
||||
Reference in New Issue
Block a user