Skip to content

Commit

Permalink
Add UE 5.5 to CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
kring committed Nov 12, 2024
1 parent ffbf2b9 commit eb1cf93
Showing 1 changed file with 118 additions and 0 deletions.
118 changes: 118 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -384,3 +384,121 @@ jobs:
test-package-base-name: "CesiumForUnreal-54"
visual-studio-version: "2022"
visual-studio-components: "Microsoft.VisualStudio.Component.VC.14.34.17.4.x86.x64,Microsoft.VisualStudio.Component.Windows10SDK.18362"
Windows55:
uses: ./.github/workflows/buildWindows.yml
secrets: inherit
with:
runner-label: "windows-2022"
unreal-engine-version: "5.5.0"
unreal-engine-zip: "s3://cesium-unreal-engine/5.5.0/UE_5.5.zip"
unreal-program-name: "UE_5.5"
upload-package-base-name: "CesiumForUnreal-55-windows"
# These are specified in the Unreal Engine release notes under "IDE Version the Build farm compiles against"
# and using them ensures we're compiling our plugin in the exact same way that Unreal Engine itself is compiled.
cmake-generator: "Visual Studio 17 2022"
cmake-toolchain: "version=14.38"
cmake-platform: "x64,version=10.0.22621.0"
visual-studio-version: "2022"
visual-studio-components: "Microsoft.VisualStudio.Component.VC.14.38.17.8.x86.x64,Microsoft.VisualStudio.Component.Windows11SDK.22621"
TestWindows55:
needs: [Windows55]
uses: ./.github/workflows/testWindows.yml
secrets: inherit
with:
runner-label: windows-2022
unreal-engine-zip: "s3://cesium-unreal-engine/5.5.0/UE_5.5.zip"
unreal-program-name: "UE_5.5"
test-package-base-name: "CesiumForUnreal-55-windows"
Android55:
uses: ./.github/workflows/buildAndroid.yml
secrets: inherit
with:
runner-label: windows-2022
unreal-engine-version: "5.5.0"
unreal-engine-zip: "s3://cesium-unreal-engine/5.5.0/UE_5.5.zip"
unreal-program-name: "UE_5.5"
upload-package-base-name: "CesiumForUnreal-55-android"
android-ndk-version: "r25b"
Linux55:
uses: ./.github/workflows/buildLinux.yml
secrets: inherit
with:
runner-label: ubuntu-22.04
unreal-engine-version: "5.5.0"
unreal-engine-zip: "s3://cesium-unreal-engine/5.5.0/Linux_Unreal_Engine_5.5.0.zip"
unreal-program-name: "UE_5.5"
upload-package-base-name: "CesiumForUnreal-55-linux"
clang-version: "v23_clang-18.1.0-rockylinux8"
Apple55:
uses: ./.github/workflows/buildApple.yml
secrets: inherit
with:
runner-label: macos-14
unreal-engine-version: "5.5.0"
unreal-engine-zip: "s3://cesium-unreal-engine/5.5.0/UE_55_macOS.zip"
unreal-program-name: "UE_5.5"
upload-package-base-name: "CesiumForUnreal-55-apple"
xcode-version: "15.4"
Combine55:
runs-on: ubuntu-latest
needs: [Windows55, Android55, Linux55, Apple55]
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set environment variables
run: |
export CESIUM_UNREAL_VERSION=$GITHUB_REF_NAME
export BUILD_CESIUM_UNREAL_PACKAGE_NAME="CesiumForUnreal-55-${CESIUM_UNREAL_VERSION}"
export BUILD_CESIUM_UNREAL_SOURCE_ONLY_PACKAGE_NAME="CesiumForUnreal-55-SourceOnly-${CESIUM_UNREAL_VERSION}"
# Make these available to subsequent steps
echo "CESIUM_UNREAL_VERSION=$CESIUM_UNREAL_VERSION" >> $GITHUB_ENV
echo "BUILD_CESIUM_UNREAL_PACKAGE_NAME=$BUILD_CESIUM_UNREAL_PACKAGE_NAME" >> $GITHUB_ENV
echo "BUILD_CESIUM_UNREAL_SOURCE_ONLY_PACKAGE_NAME=$BUILD_CESIUM_UNREAL_SOURCE_ONLY_PACKAGE_NAME" >> $GITHUB_ENV
- name: Download Apple build
uses: actions/download-artifact@v4
with:
name: CesiumForUnreal-55-apple-${{ env.CESIUM_UNREAL_VERSION}}
path: combine
- name: Download Android build
uses: actions/download-artifact@v4
with:
name: CesiumForUnreal-55-android-${{ env.CESIUM_UNREAL_VERSION}}
path: combine
- name: Download Linux build
uses: actions/download-artifact@v4
with:
name: CesiumForUnreal-55-linux-${{ env.CESIUM_UNREAL_VERSION}}
path: combine
- name: Download Windows build
uses: actions/download-artifact@v4
with:
name: CesiumForUnreal-55-windows-${{ env.CESIUM_UNREAL_VERSION}}
path: combine
- name: Publish combined package artifact
if: ${{ success() }}
uses: actions/upload-artifact@v4
with:
name: ${{ env.BUILD_CESIUM_UNREAL_PACKAGE_NAME}}
path: combine
- name: Publish combined package artifact for the Unreal Marketplace
if: ${{ success() }}
uses: actions/upload-artifact@v4
with:
name: ${{ env.BUILD_CESIUM_UNREAL_SOURCE_ONLY_PACKAGE_NAME}}
path: |
combine
# These are built by Epic, and including them seems to confuse their process.
!combine/CesiumForUnreal/Binaries/**/*
!combine/CesiumForUnreal/Intermediate/**/*
TestPackage55:
needs: [Combine55]
uses: ./.github/workflows/testPackageOnWindows.yml
secrets: inherit
with:
runner-label: windows-2022
unreal-engine-zip: "s3://cesium-unreal-engine/5.5.0/UE_5.5.zip"
unreal-program-name: "UE_5.5"
unreal-engine-association: "5.5"
test-package-base-name: "CesiumForUnreal-55"
visual-studio-version: "2022"
visual-studio-components: "Microsoft.VisualStudio.Component.VC.14.38.17.8.x86.x64,Microsoft.VisualStudio.Component.Windows11SDK.22621"

0 comments on commit eb1cf93

Please sign in to comment.