Skip to content

Commit

Permalink
[CI] Enable ANGLE static linking.
Browse files Browse the repository at this point in the history
  • Loading branch information
bruvzg committed Oct 30, 2023
1 parent 9144457 commit f90efb1
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/macos_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
env:
# Used for the cache key. Add version suffix to force clean build.
GODOT_BASE_BRANCH: master
SCONSFLAGS: verbose=yes warnings=extra werror=yes module_text_server_fb_enabled=yes
SCONSFLAGS: verbose=yes warnings=extra werror=yes module_text_server_fb_enabled=yes "angle_libs=${{github.workspace}}/"

concurrency:
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-macos
Expand Down Expand Up @@ -48,6 +48,17 @@ jobs:
run: |
sh misc/scripts/install_vulkan_sdk_macos.sh
- name: Download pre-built ANGLE static libraries
uses: dsaltares/fetch-gh-release-asset@1.1.1
with:
repo: godotengine/godot-angle-static
version: tags/chromium/6029
file: macOS.6029.Xcode_15.arm64.x86_64.zip
target: angle/angle.zip

- name: Extract pre-built ANGLE static libraries
run: unzip -o angle/angle.zip

- name: Compilation
uses: ./.github/actions/godot-build
with:
Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/windows_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
env:
# Used for the cache key. Add version suffix to force clean build.
GODOT_BASE_BRANCH: master
SCONSFLAGS: verbose=yes warnings=extra werror=yes module_text_server_fb_enabled=yes
SCONSFLAGS: verbose=yes warnings=extra werror=yes module_text_server_fb_enabled=yes "angle_libs=${{github.workspace}}/"
SCONS_CACHE_MSVC_CONFIG: true

concurrency:
Expand Down Expand Up @@ -49,6 +49,17 @@ jobs:
- name: Setup python and scons
uses: ./.github/actions/godot-deps

- name: Download pre-built ANGLE static libraries
uses: dsaltares/fetch-gh-release-asset@1.1.1
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
uses: ammaraskar/msvc-problem-matcher@master

Expand Down

0 comments on commit f90efb1

Please sign in to comment.