Test windwos build
Some checks failed
Unreal Engine Build / macos-build (push) Has been cancelled
Unreal Engine Build / windows-build (push) Failing after 6m59s

This commit is contained in:
Goran Lazarevski 2025-03-23 18:29:51 +01:00
parent ae25a4607f
commit 9f5d9a0e7b

View File

@ -7,45 +7,43 @@ on:
branches: [ main, develop ] branches: [ main, develop ]
jobs: jobs:
# windows-build: windows-build:
# runs-on: windows runs-on: windows
# steps: steps:
# - name: Checkout repository - name: Checkout repository
# uses: actions/checkout@v3 uses: actions/checkout@v3
# with: with:
# lfs: true lfs: true
# fetch-depth: 0 # Get all history to properly handle UE dependencies fetch-depth: 0
# - name: Setup Unreal Engine - name: Set Unreal Engine Path
# run: | run: |
# # Ensure Unreal Engine is installed and set up echo "UE_ROOT=F:\LuckyRobots\LuckyRobots\Engine" >> $Env:GITHUB_ENV
# # This assumes you have Unreal Engine installed on your runner echo "DOTNET_CLI_HOME=$env:TEMP" >> $Env:GITHUB_ENV
# # If not, you can add installation steps here echo "MSBUILDDISABLENODEREUSE=1" >> $Env:GITHUB_ENV
# # Set environment variables for Unreal Engine - name: Locate .uproject file
# echo "UE_ROOT=C:\Program Files\Epic Games\UE_5.2" >> $GITHUB_ENV run: |
$UPROJECT_PATH = Get-ChildItem -Path "UNREAL_PROJECTS" -Filter "*.uproject" -Recurse | Select-Object -First 1 -ExpandProperty FullName
# - name: Build Unreal Project echo "UPROJECT_PATH=$UPROJECT_PATH" >> $Env:GITHUB_ENV
# run: | Write-Host "Found project file: $UPROJECT_PATH"
# # Find your .uproject file (adjust path as needed)
# $UPROJECT_PATH = Get-ChildItem -Path . -Filter "*.uproject" -Recurse | Select-Object -First 1 -ExpandProperty FullName - name: Build Unreal Project
# Write-Host "Building project: $UPROJECT_PATH" run: |
& "$Env:UE_ROOT\Build\BatchFiles\RunUAT.bat" BuildCookRun `
# # Use Unreal Automation Tool to build the project -project="$Env:UPROJECT_PATH" `
# & "$env:UE_ROOT\Engine\Build\BatchFiles\RunUAT.bat" BuildCookRun ` -noP4 `
# -project="$UPROJECT_PATH" ` -platform=Win64 `
# -noP4 ` -clientconfig=Development `
# -platform=Win64 ` -cook -build -stage -pak -archive `
# -clientconfig=Development ` -archivedirectory="${PWD}\StagedBuilds"
# -cook -build -stage -pak -archive `
# -archivedirectory="$PWD\Build" - name: Upload build artifacts
uses: actions/upload-artifact@v3
# - name: Upload build artifacts with:
# uses: actions/upload-artifact@v3 name: windows-build
# with: path: StagedBuilds/
# name: windows-build retention-days: 7
# path: Build/
# retention-days: 7
macos-build: macos-build:
runs-on: macos runs-on: macos