Fix build matrix and upload name

This commit is contained in:
Andrew Kahr 2024-02-18 20:44:44 -08:00
parent a8b4f6276b
commit 46773f85ab

View File

@ -61,28 +61,37 @@ jobs:
buildWithIl2cpp: buildWithIl2cpp:
- false - false
- true - true
additionalParameters:
- -param value
- -standaloneBuildSubtarget Server
# Skipping configurations that are not supported # Skipping configurations that are not supported
exclude: exclude:
# No il2cpp support on Linux Host
- targetPlatform: StandaloneOSX - targetPlatform: StandaloneOSX
buildWithIl2cpp: true buildWithIl2cpp: true
- targetPlatform: StandaloneWindows64 - targetPlatform: StandaloneWindows64
buildWithIl2cpp: true buildWithIl2cpp: true
# Only builds with Il2cpp
- targetPlatform: iOS - targetPlatform: iOS
buildWithIl2cpp: false buildWithIl2cpp: false
- targetPlatform: Android - targetPlatform: Android
buildWithIl2cpp: false buildWithIl2cpp: false
- targetPlatform: WebGL - targetPlatform: WebGL
buildWithIl2cpp: false buildWithIl2cpp: false
include: # No dedicated server support
- targetPlatform: StandaloneLinux64 - targetPlatform: WebGL
additionalParameters: -standaloneBuildSubtarget Server additionalParameters: -standaloneBuildSubtarget Server
buildWithIl2cpp: true - targetPlatform: Android
- targetPlatform: StandaloneLinux64
additionalParameters: -standaloneBuildSubtarget Server additionalParameters: -standaloneBuildSubtarget Server
buildWithIl2cpp: false - targetPlatform: iOS
additionalParameters: -standaloneBuildSubtarget Server
# No dedicated server support on Linux Host
- targetPlatform: StandaloneOSX
additionalParameters: -standaloneBuildSubtarget Server
# No il2cpp dedicated server support on Linux Host
- targetPlatform: StandaloneWindows64 - targetPlatform: StandaloneWindows64
additionalParameters: -standaloneBuildSubtarget Server additionalParameters: -standaloneBuildSubtarget Server
buildWithIl2cpp: false buildWithIl2cpp: true
steps: steps:
- name: Clear Space for Android Build - name: Clear Space for Android Build
@ -182,6 +191,8 @@ jobs:
########################### ###########################
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
with: with:
name: Build ${{ matrix.targetPlatform }} on Ubuntu (${{ matrix.unityVersion }}) name:
'Build ${{ matrix.targetPlatform }} on Ubuntu (${{ matrix.unityVersion }}_il2cpp_${{ matrix.buildWithIl2cpp
}}_params_${{ matrix.additionalParameters }})'
path: build path: build
retention-days: 14 retention-days: 14