Building GDE GoZen - MacOS #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: MacOS | |
run-name: Building GDE GoZen - MacOS | |
on: | |
workflow_dispatch: | |
inputs: | |
artifact_addon: | |
description: 'Get artifacts' | |
required: true | |
default: false | |
type: boolean | |
artifact_test_room: | |
description: 'Get test_room' | |
required: true | |
default: false | |
type: boolean | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- name: Installing dependencies | |
run: | | |
brew update | |
brew install yasm scons diffutils make unzip ffmpeg | |
- name: Checkout submodules | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Build FFmpeg | |
run: ./ffmpeg.sh 3 1 | |
- name: Build MacOS debug | |
run: scons -j4 target=template_debug platform=macos arch=arm64 dev_build=yes | |
- name: Build MacOS release | |
run: scons -j4 target=template_release platform=macos arch=arm64 | |
- name: Uploading addon build | |
if: ${{ github.event.inputs.artifact_addon == 'true' }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Addon_GDE_GoZen_MacOS | |
path: test_room/addons/ | |
retention-days: 5 | |
- name: Uploading test room build | |
if: ${{ github.event.inputs.artifact_test_room == 'true' }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Test_room_GDE_GoZen_MacOS | |
path: test_room/ | |
retention-days: 5 | |