Skip to content

Commit

Permalink
Fix build configuration script (macOS).
Browse files Browse the repository at this point in the history
  • Loading branch information
kring committed Nov 13, 2024
1 parent 8c1a88f commit 541739c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/buildApple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ jobs:
build:
runs-on: ${{ inputs.runner-label }}
steps:
- name: Customize BuildConfiguration.xml
run: |
mkdir -p ~/.config/Unreal\ Engine/UnrealBuildTool
# - We limit parallel actions because our builds use a lot more memory than UBT thinks they will.
# - We set the source code control Provider to None so UBT includes all files in the unity build.
printf '<?xml version="1.0" encoding="utf-8" ?>\n<Configuration xmlns="https://www.unrealengine.com/BuildConfiguration">\n <BuildConfiguration>\n <MaxParallelActions>2</MaxParallelActions>\n </BuildConfiguration>\n <SourceFileWorkingSet><Provider>None</Provider></SourceFileWorkingSet>\n</Configuration>\n' > ~/.config/Unreal\ Engine/UnrealBuildTool/BuildConfiguration.xml
mkdir -p ~/Unreal\ Engine/UnrealBuildTool
cp ~/.config/Unreal\ Engine/UnrealBuildTool/BuildConfiguration.xml ~/Unreal\ Engine/UnrealBuildTool/BuildConfiguration.xml
- name: Make some more disk space
run: |
df -h
Expand Down Expand Up @@ -123,14 +131,6 @@ jobs:
- name: Remove extern directory
run: |
rm -rf extern
- name: Customize BuildConfiguration.xml
run: |
mkdir -p ~/.config/Unreal\ Engine/UnrealBuildTool
# - We limit parallel actions because our builds use a lot more memory than UBT thinks they will.
# - We set the source code control Provider to None so UBT includes all files in the unity build.
printf '<?xml version="1.0" encoding="utf-8" ?>\n<Configuration xmlns="https://www.unrealengine.com/BuildConfiguration">\n <BuildConfiguration>\n <MaxParallelActions>2</MaxParallelActions>\n </BuildConfiguration>\n <SourceFileWorkingSet><Provider>None</Provider></SourceFileWorkingSet>\n</Configuration>\n' > ~/.config/Unreal\ Engine/UnrealBuildTool/BuildConfiguration.xml
mkdir -p ~/.config/Unreal\ Engine/UnrealBuildTool
cp ~/.config/Unreal\ Engine/UnrealBuildTool/BuildConfiguration.xml ~/Unreal\ Engine/UnrealBuildTool/BuildConfiguration.xml
- name: Build plugin for macOS and iOS
run: |
sed -i '' 's/\"EngineVersion\": \"5.2.0\"/\"EngineVersion\": \"${{ inputs.unreal-engine-version }}\"/g' CesiumForUnreal.uplugin
Expand Down

0 comments on commit 541739c

Please sign in to comment.