[CI] Enable ANGLE static linking.

This commit is contained in:
bruvzg 2023-10-30 08:56:23 +02:00
parent be56cab58c
commit db93bbbc10
No known key found for this signature in database
GPG Key ID: 7960FCF39844EC38
1 changed files with 12 additions and 1 deletions

View File

@ -7,7 +7,7 @@ on:
env: env:
# Used for the cache key. Add version suffix to force clean build. # Used for the cache key. Add version suffix to force clean build.
GODOT_BASE_BRANCH: master GODOT_BASE_BRANCH: master
SCONSFLAGS: verbose=yes warnings=extra werror=yes module_text_server_fb_enabled=yes d3d12=yes SCONSFLAGS: verbose=yes warnings=extra werror=yes module_text_server_fb_enabled=yes d3d12=yes "angle_libs=${{github.workspace}}/"
SCONS_CACHE_MSVC_CONFIG: true SCONS_CACHE_MSVC_CONFIG: true
concurrency: concurrency:
@ -54,6 +54,17 @@ jobs:
- name: Download Direct3D 12 SDK components - name: Download Direct3D 12 SDK components
run: python ./misc/scripts/install_d3d12_sdk_windows.py run: python ./misc/scripts/install_d3d12_sdk_windows.py
- name: Download pre-built ANGLE static libraries
uses: dsaltares/fetch-gh-release-asset@1.1.2
with:
repo: godotengine/godot-angle-static
version: tags/chromium/6029
file: Windows.6029-1.MSVC_17.x86_64.x86_32.zip
target: angle/angle.zip
- name: Extract pre-built ANGLE static libraries
run: Expand-Archive -Force angle/angle.zip ${{github.workspace}}/
- name: Setup MSVC problem matcher - name: Setup MSVC problem matcher
uses: ammaraskar/msvc-problem-matcher@master uses: ammaraskar/msvc-problem-matcher@master