name: Build Windows on: [push, pull_request] env: DOTNET_NOLOGO: true DOTNET_CLI_TELEMETRY_OPTOUT: false DOTNET_ROLL_FORWARD: 'minor' jobs: # Editor editor-windows: name: Editor (Windows, Development x64) runs-on: "windows-2022" steps: - name: Checkout repo uses: actions/checkout@v6 - name: Setup Vulkan uses: ./.github/actions/vulkan - name: Setup .NET uses: actions/setup-dotnet@v5 with: dotnet-version: 8.0.419 - name: Print .NET info run: | dotnet --info dotnet workload --info - name: Checkout LFS run: | git lfs version git lfs pull - name: Build run: | PowerShell "(Get-Content global.json).Replace('latestMajor', 'minor') | Set-Content global.json" PowerShell "(Get-Content Source/Tools/Flax.Build/global.json).Replace('latestMajor', 'minor') | Set-Content Source/Tools/Flax.Build/global.json" PowerShell "(Get-Content Source/Tools/Flax.Build/Flax.Build.csproj).Replace('LatestMajor', 'Minor') | Set-Content Source/Tools/Flax.Build/Flax.Build.csproj" .\Development\Scripts\Windows\CallBuildTool.bat -build -log -printSDKs -dotnet=8 -arch=x64 -platform=Windows -configuration=Development -buildtargets=FlaxEditor # Game game-windows: name: Game (Windows, Release x64) runs-on: "windows-2022" steps: - name: Checkout repo uses: actions/checkout@v6 - name: Setup Vulkan uses: ./.github/actions/vulkan - name: Setup .NET uses: actions/setup-dotnet@v5 with: dotnet-version: 8.0.419 - name: Print .NET info run: | dotnet --info dotnet workload --info - name: Checkout LFS run: | git lfs version git lfs pull - name: Build run: | PowerShell "(Get-Content global.json).Replace('latestMajor', 'minor') | Set-Content global.json" PowerShell "(Get-Content Source/Tools/Flax.Build/global.json).Replace('latestMajor', 'minor') | Set-Content Source/Tools/Flax.Build/global.json" PowerShell "(Get-Content Source/Tools/Flax.Build/Flax.Build.csproj).Replace('LatestMajor', 'Minor') | Set-Content Source/Tools/Flax.Build/Flax.Build.csproj" .\Development\Scripts\Windows\CallBuildTool.bat -build -log -printSDKs -dotnet=8 -arch=x64 -platform=Windows -configuration=Release -buildtargets=FlaxGame