more more CI
parent
1329aa2f17
commit
2cd7af5e14
|
@ -15,7 +15,7 @@ commands:
|
||||||
# get activation file, if fail to activate unity, use this key and activate from https://license.unity3d.com/manual
|
# get activation file, if fail to activate unity, use this key and activate from https://license.unity3d.com/manual
|
||||||
- run: apt update && apt install libunwind8 -y
|
- run: apt update && apt install libunwind8 -y
|
||||||
- run: /opt/Unity/Editor/Unity -quit -batchmode -nographics -logFile -createManualActivationFile || exit 0
|
- run: /opt/Unity/Editor/Unity -quit -batchmode -nographics -logFile -createManualActivationFile || exit 0
|
||||||
- run: cat << parameters.unity_version >>.alf # file name same as image's version
|
- run: cat Unity_v<< parameters.unity_version >>.alf
|
||||||
# get from UNITY_LICENSE envvar(base64 encoded(cat foo.ulf | base64 )), this file is generated from above manual activation
|
# get from UNITY_LICENSE envvar(base64 encoded(cat foo.ulf | base64 )), this file is generated from above manual activation
|
||||||
- run: echo << parameters.unity_license >> | base64 -di >> .circleci/Unity.ulf
|
- run: echo << parameters.unity_license >> | base64 -di >> .circleci/Unity.ulf
|
||||||
- run: /opt/Unity/Editor/Unity -quit -batchmode -nographics -silent-crashes -logFile -manualLicenseFile .circleci/Unity.ulf || exit 0
|
- run: /opt/Unity/Editor/Unity -quit -batchmode -nographics -silent-crashes -logFile -manualLicenseFile .circleci/Unity.ulf || exit 0
|
||||||
|
@ -53,6 +53,19 @@ workflows:
|
||||||
version: 2
|
version: 2
|
||||||
build-unity:
|
build-unity:
|
||||||
jobs:
|
jobs:
|
||||||
- build-and-test:
|
- unity-2019-3:
|
||||||
unity_version: 2018.3.12f1
|
unity_version: 2019.3.0a2
|
||||||
|
unity_license: ${UNITY_LICENSE_2019_3}
|
||||||
|
- unity-2019-2:
|
||||||
|
unity_version: 2019.2.0b2
|
||||||
|
unity_license: ${UNITY_LICENSE_2019_2}
|
||||||
|
- unity-2019-1:
|
||||||
|
unity_version: 2019.1.3f1
|
||||||
|
unity_license: ${UNITY_LICENSE_2019_1}
|
||||||
|
- unity-2018-4:
|
||||||
|
unity_version: 2018.4.0f1
|
||||||
|
unity_license: ${UNITY_LICENSE_2018_4}
|
||||||
|
# UniTask minimum support version is 2018.3(C# 7.x)
|
||||||
|
- unity-2018-3:
|
||||||
|
unity_version: 2018.3.14f1
|
||||||
unity_license: ${UNITY_LICENSE_2018_3}
|
unity_license: ${UNITY_LICENSE_2018_3}
|
Loading…
Reference in New Issue