Updated android identifier. Removed incompatible unity versions from tests. Add retry logic to windows as it seems to have licensing issues when so many runners start
parent
24634cc1c7
commit
3ecc6580d9
|
|
@ -46,7 +46,6 @@ jobs:
|
||||||
projectPath:
|
projectPath:
|
||||||
- test-project
|
- test-project
|
||||||
unityVersion:
|
unityVersion:
|
||||||
- 2018.2.21f1
|
|
||||||
- 2018.3.14f1
|
- 2018.3.14f1
|
||||||
- 2018.4.36f1
|
- 2018.4.36f1
|
||||||
- 2019.1.14f1
|
- 2019.1.14f1
|
||||||
|
|
@ -62,9 +61,9 @@ jobs:
|
||||||
- 2022.1.24f1
|
- 2022.1.24f1
|
||||||
- 2022.2.6f1
|
- 2022.2.6f1
|
||||||
targetPlatform:
|
targetPlatform:
|
||||||
- StandaloneOSX # Build a macOS standalone (Intel 64-bit).
|
- StandaloneOSX # Build a macOS standalone (Intel 64-bit) with mono backend.
|
||||||
- StandaloneWindows64 # Build a Windows 64-bit standalone.
|
- StandaloneWindows64 # Build a Windows 64-bit standalone with mono backend.
|
||||||
- StandaloneLinux64 # Build a Linux 64-bit standalone.
|
- StandaloneLinux64 # Build a Linux 64-bit standalone with mono backend.
|
||||||
- iOS # Build an iOS player.
|
- iOS # Build an iOS player.
|
||||||
- Android # Build an Android .apk.
|
- Android # Build an Android .apk.
|
||||||
- WebGL # WebGL.
|
- WebGL # WebGL.
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ jobs:
|
||||||
projectPath:
|
projectPath:
|
||||||
- test-project
|
- test-project
|
||||||
unityVersion:
|
unityVersion:
|
||||||
- 2019.4.40f1
|
- 2019.4.40f1 # Minimum version for IL2CPP
|
||||||
- 2020.1.17f1
|
- 2020.1.17f1
|
||||||
- 2020.2.7f1
|
- 2020.2.7f1
|
||||||
- 2020.3.44f1
|
- 2020.3.44f1
|
||||||
|
|
|
||||||
|
|
@ -42,14 +42,12 @@ jobs:
|
||||||
projectPath:
|
projectPath:
|
||||||
- test-project
|
- test-project
|
||||||
unityVersion:
|
unityVersion:
|
||||||
- 2019.3.15f1
|
- 2019.3.15f1 # Minimum version for IL2CPP
|
||||||
- 2019.4.40f1
|
- 2019.4.40f1
|
||||||
- 2020.1.17f1
|
- 2020.1.17f1
|
||||||
- 2020.2.7f1
|
- 2020.2.7f1
|
||||||
- 2020.3.44f1
|
- 2020.3.44f1
|
||||||
- 2021.1.28f1
|
- 2021.3.18f1 # 2021.1 and 2021.2 seem to have IL2CPP issues
|
||||||
- 2021.2.19f1
|
|
||||||
- 2021.3.18f1
|
|
||||||
- 2022.1.24f1
|
- 2022.1.24f1
|
||||||
- 2022.2.6f1
|
- 2022.2.6f1
|
||||||
targetPlatform:
|
targetPlatform:
|
||||||
|
|
@ -88,6 +86,47 @@ jobs:
|
||||||
# Build #
|
# Build #
|
||||||
###########################
|
###########################
|
||||||
- uses: ./
|
- uses: ./
|
||||||
|
id: build-1
|
||||||
|
env:
|
||||||
|
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
|
||||||
|
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
|
||||||
|
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
|
||||||
|
with:
|
||||||
|
projectPath: ${{ matrix.projectPath }}
|
||||||
|
unityVersion: ${{ matrix.unityVersion }}
|
||||||
|
targetPlatform: ${{ matrix.targetPlatform }}
|
||||||
|
customParameters: -profile SomeProfile -someBoolean -someValue exampleValue
|
||||||
|
allowDirtyBuild: true
|
||||||
|
# We use dirty build because we are replacing the default project settings file above
|
||||||
|
|
||||||
|
- name: Sleep for Retry
|
||||||
|
if: ${{ steps.build-1.outcome == 'failure' }}
|
||||||
|
run: |
|
||||||
|
Start-Sleep -s 120
|
||||||
|
|
||||||
|
- uses: ./
|
||||||
|
id: build-2
|
||||||
|
if: steps.build-1.outcome == 'failure'
|
||||||
|
env:
|
||||||
|
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
|
||||||
|
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
|
||||||
|
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
|
||||||
|
with:
|
||||||
|
projectPath: ${{ matrix.projectPath }}
|
||||||
|
unityVersion: ${{ matrix.unityVersion }}
|
||||||
|
targetPlatform: ${{ matrix.targetPlatform }}
|
||||||
|
customParameters: -profile SomeProfile -someBoolean -someValue exampleValue
|
||||||
|
allowDirtyBuild: true
|
||||||
|
# We use dirty build because we are replacing the default project settings file above
|
||||||
|
|
||||||
|
- name: Sleep for Retry
|
||||||
|
if: ${{ steps.build-1.outcome == 'failure' && steps.build-2.outcome == 'failure' }}
|
||||||
|
run: |
|
||||||
|
Start-Sleep -s 240
|
||||||
|
|
||||||
|
- uses: ./
|
||||||
|
id: build-3
|
||||||
|
if: ${{ steps.build-1.outcome == 'failure' && steps.build-2.outcome == 'failure' }}
|
||||||
env:
|
env:
|
||||||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
|
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
|
||||||
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
|
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
|
||||||
|
|
|
||||||
|
|
@ -165,7 +165,7 @@ PlayerSettings:
|
||||||
androidMaxAspectRatio: 2.1
|
androidMaxAspectRatio: 2.1
|
||||||
applicationIdentifier:
|
applicationIdentifier:
|
||||||
Standalone: com.Company.ProductName
|
Standalone: com.Company.ProductName
|
||||||
Android: com.Company.ProductName
|
Android: com.DefaultCompany.simpletestproject
|
||||||
buildNumber: {}
|
buildNumber: {}
|
||||||
AndroidBundleVersionCode: 1
|
AndroidBundleVersionCode: 1
|
||||||
AndroidMinSdkVersion: 16
|
AndroidMinSdkVersion: 16
|
||||||
|
|
|
||||||
|
|
@ -154,7 +154,7 @@ PlayerSettings:
|
||||||
androidMaxAspectRatio: 2.1
|
androidMaxAspectRatio: 2.1
|
||||||
applicationIdentifier:
|
applicationIdentifier:
|
||||||
Standalone: com.Company.ProductName
|
Standalone: com.Company.ProductName
|
||||||
Android: com.Company.ProductName
|
Android: com.DefaultCompany.simpletestproject
|
||||||
buildNumber:
|
buildNumber:
|
||||||
Standalone: 0
|
Standalone: 0
|
||||||
iPhone: 0
|
iPhone: 0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue