From 8c4b081da95c6432865fcb63b7c33e8ec1d44f7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Mon, 6 May 2024 01:16:16 +0200 Subject: [PATCH] ci/win32: add shaderc Use pre-built binaries to reduce CI build time. --- ci/build-win32.ps1 | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/ci/build-win32.ps1 b/ci/build-win32.ps1 index 3f9397bdb5..dd03e0509c 100644 --- a/ci/build-win32.ps1 +++ b/ci/build-win32.ps1 @@ -6,6 +6,31 @@ if (-not (Test-Path $subprojects)) { New-Item -Path $subprojects -ItemType Directory | Out-Null } +# Download pre-built shaderc, it is quite big to build each time +# For download link see https://github.com/google/shaderc/blob/main/downloads.md +$url = "https://storage.googleapis.com/shaderc/badges/build_link_windows_vs2019_release.html" +$shaderc = "shaderc.zip" +$resp = Invoke-WebRequest -Uri $url +if ($resp.Content -match '