Skip to content

🍎 macOS Builds

🍎 macOS Builds #10

Workflow file for this run

name: 🍎 macOS Builds
on: [ workflow_call, workflow_dispatch ]
jobs:
build-macos:
name: 🍎 macOS ${{ matrix.arch }} ${{ matrix.target }}
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
platform: [macos]
target: [debug, release]
arch: [universal]
steps:
- name: Checkout Terrain3D
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Base Dependencies
uses: ./.github/actions/base-deps
- name: Setup Build Cache
uses: ./.github/actions/build-cache
with:
cache-name: ${{ matrix.platform }}-${{ matrix.target }}
continue-on-error: true
- name: Build Terrain3D
env:
SCONS_CACHE: "${{ github.workspace }}/.scons-cache/"
TARGET: 'template_${{ matrix.target }}'
ARCH: '${{ matrix.arch }}'
shell: sh
run: |
scons target=$TARGET platform='${{ matrix.platform }}' arch=$ARCH debug_symbols=no -j2
- name: Include Files
shell: sh
run: |
ls -l project/addons/terrain_3d/bin/*/
cp '${{ github.workspace }}/README.md' '${{ github.workspace }}/LICENSE.txt' ${{ github.workspace }}/project/addons/terrain_3d/
- name: Upload Package
uses: actions/upload-artifact@v4
with:
name: t3d-${{ matrix.platform }}-${{ matrix.arch }}-${{ matrix.target }}
path: |
${{ github.workspace }}/project/
merge:
runs-on: ubuntu-latest
needs: build

Check failure on line 54 in .github/workflows/macos.yml

View workflow run for this annotation

GitHub Actions / 🍎 macOS Builds

Invalid workflow file

The workflow is not valid. .github/workflows/macos.yml (Line: 54, Col: 12): Job 'merge' depends on unknown job 'build'.
steps:
- name: Merge Artifacts
uses: actions/upload-artifact/merge@v4
with:
name: ${{ github.event.repository.name }}
pattern: t3d-*
delete-merged: true