@@ -24,13 +24,14 @@ jobs:
24
24
cache-name : macos-editor
25
25
target : editor
26
26
tests : true
27
- bin : " ./bin/godot.macos.editor.x86_64 "
27
+ bin : " ./bin/godot.macos.editor.universal "
28
28
29
29
- name : Template (target=template_release)
30
30
cache-name : macos-template
31
31
target : template_release
32
32
tests : false
33
- sconsflags : debug_symbols=no
33
+ sconsflags : debug_symbols=no tests=yes
34
+ bin : " ./bin/godot.macos.template_release.universal"
34
35
35
36
steps :
36
37
- uses : actions/checkout@v4
@@ -48,16 +49,26 @@ jobs:
48
49
run : |
49
50
sh misc/scripts/install_vulkan_sdk_macos.sh
50
51
51
- - name : Compilation
52
+ - name : Compilation (x86_64)
52
53
uses : ./.github/actions/godot-build
53
54
with :
54
- sconsflags : ${{ env.SCONSFLAGS }}
55
+ sconsflags : ${{ env.SCONSFLAGS }} arch=x86_64
56
+ platform : macos
57
+ target : ${{ matrix.target }}
58
+ tests : ${{ matrix.tests }}
59
+
60
+ - name : Compilation (arm64)
61
+ uses : ./.github/actions/godot-build
62
+ with :
63
+ sconsflags : ${{ env.SCONSFLAGS }} arch=arm64
55
64
platform : macos
56
65
target : ${{ matrix.target }}
57
66
tests : ${{ matrix.tests }}
58
67
59
68
- name : Prepare artifact
60
69
run : |
70
+ lipo -create ./bin/godot.macos.${{ matrix.target }}.x86_64 ./bin/godot.macos.${{ matrix.target }}.arm64 -output ./bin/godot.macos.${{ matrix.target }}.universal
71
+ rm ./bin/godot.macos.${{ matrix.target }}.x86_64 ./bin/godot.macos.${{ matrix.target }}.arm64
61
72
strip bin/godot.*
62
73
chmod +x bin/godot.*
63
74
0 commit comments