summaryrefslogtreecommitdiff
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.yml21
1 files changed, 18 insertions, 3 deletions
diff --git a/.github/workflows/macos_builds.yml b/.github/workflows/macos_builds.yml
index 74b57adaeb..5f9ad24ac7 100644
--- a/.github/workflows/macos_builds.yml
+++ b/.github/workflows/macos_builds.yml
@@ -1,9 +1,10 @@
name: 🍎 macOS Builds
on: [push, pull_request]
-# Global Cache Settings
+# Global Settings
env:
GODOT_BASE_BRANCH: master
+ SCONSFLAGS: platform=osx verbose=yes warnings=all werror=yes --jobs=2
SCONS_CACHE_LIMIT: 4096
jobs:
@@ -49,13 +50,20 @@ jobs:
env:
SCONS_CACHE: ${{github.workspace}}/.scons_cache/
run: |
- scons -j2 verbose=yes warnings=all werror=yes platform=osx tools=yes tests=yes target=release_debug
+ scons tools=yes tests=yes target=release_debug
+ ls -l bin/
# Execute unit tests for the editor
- name: Unit Tests
run: |
./bin/godot.osx.opt.tools.64 --test
+ - uses: actions/upload-artifact@v2
+ with:
+ name: ${{ github.job }}
+ path: bin/*
+ retention-days: 14
+
macos-template:
runs-on: "macos-latest"
name: Template (target=release, tools=no)
@@ -96,4 +104,11 @@ jobs:
env:
SCONS_CACHE: ${{github.workspace}}/.scons_cache/
run: |
- scons -j2 verbose=yes warnings=all werror=yes platform=osx target=release tools=no
+ scons target=release tools=no debug_symbols=no
+ ls -l bin/
+
+ - uses: actions/upload-artifact@v2
+ with:
+ name: ${{ github.job }}
+ path: bin/*
+ retention-days: 14