Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experiment: access UE from a VHDX instead of a ZIP. #1450

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/buildWindows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,22 @@ jobs:
echo UNREAL_BATCH_FILES_PATH=$env:UNREAL_BATCH_FILES_PATH
- name: Install Unreal Engine
uses: ./.github/actions/install-unreal-windows
if: ${{ inputs.unreal-engine-version != '5.4.0' }}
with:
unreal-engine-zip: ${{ inputs.unreal-engine-zip }}
unreal-program-name: ${{ inputs.unreal-program-name }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Install Unreal Engine VHDX
if: ${{ inputs.unreal-engine-version == '5.4.0' }}
env:
AWS_REGION: us-east-1
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |
mkdir -p "D:/Program Files/Epic Games"
aws s3 cp "s3://cesium-unreal-engine/5.4.0/UnrealEngine541.vhdx" "D:/Program Files/UnrealEngine541.vhdx" --no-progress
Mount-VHD -Path "D:/Program Files/UnrealEngine541.vhdx" -NoDriveLetter -Passthru | Get-Disk | Get-Partition | where { ($_ | Get-Volume) -ne $Null } | Add-PartitionAccessPath -AccessPath "D:\Program Files\Epic Games"
- name: Install nasm
uses: ilammy/[email protected]
- name: Build cesium-native
Expand Down