Skip to content

mac and ios github actions #2

mac and ios github actions

mac and ios github actions #2

Workflow file for this run

name: Build Mac UE.5.0
on:
pull_request:
branches: [ main ]
paths-ignore:
- '**/README.md'
- '**/gitignore'
workflow_dispatch:
jobs:
build-mac-50:
runs-on: [ self-hosted, macOS, ARM64, m1-1317 ]
steps:
- uses: actions/checkout@v2
- name: git-update-dependecies
run: git submodule update --init --recursive
- run: mkdir -p TestInworldFPS
- uses: actions/checkout@v2
with:
ref: 'TestInworldFPS'
path: 'TestInworldFPS'
- name: Copy Plugins & Remove Assets
shell: bash
run: |
rm -rf InworldAI\Content
rm -rf TestInworldFPS\TestInworldFPS\Plugins\InworldAI
rm -rf TestInworldFPS\TestInworldFPS\Plugins\InworldMetahuma
rm -rf "TestInworldFPS\TestInworldFPS\Plugins\InworldReadyPlayerMe
cp -r InworldAI TestInworldFPS\TestInworldFPS\Plugins\InworldAI
cp -r InworldAI\inworld-ndk\src TestInworldFPS\TestInworldFPS\Plugins\InworldAI\Source\InworldAINdk\Public\NDK
cp -r InworldMetahuman TestInworldFPS\TestInworldFPS\Plugins\InworldMetahuman
cp -r InworldReadyPlayerMe TestInworldFPS\TestInworldFPS\Plugins\InworldReadyPlayerMe
- name: BuildEditor-Mac-50
shell: bash
run: |
sh "/Users/Shared/Epic Games/UE_5.1/Engine/Build/BatchFiles/RunUAT.sh" > BuildEditorLog.txt BuildEditor -project="TestInworldFPS/TestInworldFPS/TestInworldFPS.uproject" -platform=Mac -notools -configuration=Development+Shipping
cat BuildEditorLog.txt
if grep -Fxq "$BuildEditorLog.txt" "BUILD SUCCESSFULs"
then
exit 1
fi
exit 0
- name: BuildGame-Mac-50
shell: bash
run: |
sh "/Users/Shared/Epic Games/UE_5.1/Engine/Build/BatchFiles/RunUAT.sh" > BuildGameLog.txt BuildGame -project="TestInworldFPS/TestInworldFPS/TestInworldFPS.uproject" -platform=Mac -notools -configuration=Development+Shipping
cat BuildGameLog.txt
if grep -Fxq "$BuildGameLog.txt" "BUILD SUCCESSFULs"
then
exit 1
fi
exit 0