Skip to content

Commit dbe0bcb

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

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/windows.yml

+12-1
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,17 @@ 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+
dir
126+
cd angle
127+
dir
128+
118129
# Compile with explicit flags.
119130
#
120131
# TODO `PYTHONIOENCODING` is not working!
@@ -128,7 +139,7 @@ jobs:
128139
- name: Compilation
129140
run: |
130141
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}}
142+
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=${{github.workspace}}/angle"
132143
133144
- name: "Rename executable"
134145
if: ${{ matrix.tracy == 'yes' }}

0 commit comments

Comments
 (0)