GHA: Compile Windows builds with statically linked ANGLE

This commit is contained in:
Serhii Snitsaruk 2024-12-01 15:48:56 +01:00
parent 6d79b7474e
commit 7a3d5bc6a2
No known key found for this signature in database
GPG Key ID: A965EF8799FFEC2D
1 changed files with 9 additions and 0 deletions

View File

@ -221,6 +221,14 @@ jobs:
${{env.BIN}}-${{inputs.godot-ref}}-${{inputs.limboai-ref}} ${{env.BIN}}-${{inputs.godot-ref}}-${{inputs.limboai-ref}}
${{env.BIN}}-${{inputs.godot-ref}} ${{env.BIN}}-${{inputs.godot-ref}}
- name: Static ANGLE libs
run: |
mkdir -p deps/angle
cd deps/angle
url=https://github.com/godotengine/godot-angle-static/releases/download/chromium%2F6601.2/godot-angle-static
curl -L -o windows_${{matrix.opts.arch}}.zip $url-${{matrix.opts.arch}}-${{matrix.opts.llvm && 'llvm' || 'gcc'}}-release.zip
unzip windows_${{matrix.opts.arch}}.zip
- name: Pull build container - name: Pull build container
run: | run: |
podman pull ghcr.io/limbonaut/godot-windows:${{env.BUILD_IMAGE_VERSION}} podman pull ghcr.io/limbonaut/godot-windows:${{env.BUILD_IMAGE_VERSION}}
@ -236,6 +244,7 @@ jobs:
module_mono_enabled=${{matrix.opts.dotnet}} \ module_mono_enabled=${{matrix.opts.dotnet}} \
${{env.SCONSFLAGS}} \ ${{env.SCONSFLAGS}} \
${{matrix.opts.scons-flags}} \ ${{matrix.opts.scons-flags}} \
angle_libs=/build/deps/angle \
" "
podman_run="podman run -it --rm \ podman_run="podman run -it --rm \
--env GODOT_VERSION_STATUS=${GODOT_VERSION_STATUS} \ --env GODOT_VERSION_STATUS=${GODOT_VERSION_STATUS} \