Skip to content

Commit aa8e09c

Browse files
authored
Add a build action to apply common macos patches as we need to patch the macos build time and time again (utopia-rise#849)
1 parent 20c2253 commit aa8e09c

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Apply common macos patches
2+
description: Action to apply macos patches if needed (they are quite frequently needed hence a dedicated action to apply all or none to all our macos build host runs)
3+
4+
runs:
5+
using: composite
6+
steps:
7+
- name: Info
8+
shell: sh
9+
run: echo "Applying macos patches"
10+
11+
# Add any necessary patches for macos hosts below:
12+
13+
# Required for new moltenvk builds. keep until 'macos-latest' points to macos15 instead of 14: https://github.com/actions/runner-images?tab=readme-ov-file#available-images
14+
- name: Select Xcode 16
15+
shell: sh
16+
run: sudo xcode-select -s /Applications/Xcode_16.2.app

.github/workflows/build_macos.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ jobs:
7979
with:
8080
path: modules/kotlin_jvm
8181

82+
- name: Apply common macos host patches
83+
uses: ./modules/kotlin_jvm/.github/actions/mac-host-patches
84+
8285
- name: Setup Godot build cache
8386
uses: ./modules/kotlin_jvm/.github/actions/scons-cache
8487
with:

0 commit comments

Comments
 (0)