Skip to content

Commit 021b220

Browse files
committed
Add ANGLE to Windows builds
1 parent 1d1148c commit 021b220

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/windows.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,14 @@ jobs:
115115
run:
116116
python modules/voxel/misc/instrument.py -d . -c modules/voxel/misc/instruments.json
117117

118+
# Add ANGLE support.
119+
# This is not provided by default.
120+
# See https://docs.godotengine.org/en/stable/contributing/development/compiling/compiling_for_windows.html#compiling-with-angle-support
121+
- name: Add ANGLE
122+
run:
123+
curl -LO https://github.com/godotengine/godot-angle-static/releases/download/chromium%2F6601.2/godot-angle-static-x86_64-msvc-release.zip
124+
7z x godot-angle-static-x86_64-msvc-release.zip -oangle
125+
118126
# Compile with explicit flags.
119127
#
120128
# TODO `PYTHONIOENCODING` is not working!
@@ -128,7 +136,7 @@ jobs:
128136
- name: Compilation
129137
run: |
130138
set PYTHONIOENCODING=utf-8
131-
scons verbose=yes warnings=all werror=yes platform=windows tests=no target=${{matrix.target}} dev_build=no precision=${{matrix.precision}} tracy=${{matrix.tracy}} production=yes "cache_path=${{github.workspace}}/.scons_cache/" cache_limit=${{env.SCONS_CACHE_LIMIT_GB}}
139+
scons verbose=yes warnings=all werror=yes platform=windows tests=no target=${{matrix.target}} dev_build=no precision=${{matrix.precision}} tracy=${{matrix.tracy}} production=yes "cache_path=${{github.workspace}}/.scons_cache/" cache_limit=${{env.SCONS_CACHE_LIMIT_GB}} angle_libs=angle
132140
133141
- name: "Rename executable"
134142
if: ${{ matrix.tracy == 'yes' }}

0 commit comments

Comments
 (0)