summaryrefslogtreecommitdiffstats
path: root/.github/workflows/macos_builds.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/macos_builds.yml')
-rw-r--r--.github/workflows/macos_builds.yml16
1 files changed, 11 insertions, 5 deletions
diff --git a/.github/workflows/macos_builds.yml b/.github/workflows/macos_builds.yml
index badcb688d1..4db7462b3a 100644
--- a/.github/workflows/macos_builds.yml
+++ b/.github/workflows/macos_builds.yml
@@ -29,16 +29,17 @@ jobs:
- name: Template (target=template_release)
cache-name: macos-template
target: template_release
- tests: false
- sconsflags: debug_symbols=no
+ tests: true
+ sconsflags: debug_symbols=no tests=yes
+ bin: "./bin/godot.macos.template_release.universal"
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- - name: Setup Godot build cache
- uses: ./.github/actions/godot-cache
+ - name: Restore Godot build cache
+ uses: ./.github/actions/godot-cache-restore
with:
cache-name: ${{ matrix.cache-name }}
continue-on-error: true
@@ -66,6 +67,12 @@ jobs:
target: ${{ matrix.target }}
tests: ${{ matrix.tests }}
+ - name: Save Godot build cache
+ uses: ./.github/actions/godot-cache-save
+ with:
+ cache-name: ${{ matrix.cache-name }}
+ continue-on-error: true
+
- name: Prepare artifact
run: |
lipo -create ./bin/godot.macos.${{ matrix.target }}.x86_64 ./bin/godot.macos.${{ matrix.target }}.arm64 -output ./bin/godot.macos.${{ matrix.target }}.universal
@@ -78,7 +85,6 @@ jobs:
with:
name: ${{ matrix.cache-name }}
- # Execute unit tests for the editor
- name: Unit tests
if: ${{ matrix.tests }}
run: |