mac and ios github actions #1
Workflow file for this run
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: Build iOS UE.5.0 | |
on: | |
pull_request: | |
branches: [ main ] | |
paths-ignore: | |
- '**/README.md' | |
- '**/gitignore' | |
workflow_dispatch: | |
jobs: | |
build: | |
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-ios-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=iOS -notools -configuration=Development+Shipping | |
cat BuildEditorLog.txt | |
if grep -Fxq "$BuildEditorLog.txt" "BUILD SUCCESSFULs" | |
then | |
exit 1 | |
fi | |
exit 0 | |
- name: BuildGame-ios-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=iOS -notools -configuration=Development+Shipping | |
cat BuildGameLog.txt | |
if grep -Fxq "$BuildGameLog.txt" "BUILD SUCCESSFULs" | |
then | |
exit 1 | |
fi | |
exit 0 | |