CI 3
parent
5b08131528
commit
1329aa2f17
|
@ -1,9 +1,11 @@
|
||||||
version: 2.1
|
version: 2.1
|
||||||
executors:
|
executors:
|
||||||
unity_2018_3_12f1:
|
unity:
|
||||||
docker:
|
|
||||||
# https://hub.docker.com/r/gableroux/unity3d/tags
|
# https://hub.docker.com/r/gableroux/unity3d/tags
|
||||||
- image: gableroux/unity3d:2018.3.12f1
|
parameters:
|
||||||
|
version: {type: string}
|
||||||
|
docker:
|
||||||
|
- image: gableroux/unity3d:<< parameters.version >>
|
||||||
commands:
|
commands:
|
||||||
unity_activate:
|
unity_activate:
|
||||||
parameters:
|
parameters:
|
||||||
|
@ -22,10 +24,14 @@ jobs:
|
||||||
parameters:
|
parameters:
|
||||||
unity_version: {type: string}
|
unity_version: {type: string}
|
||||||
unity_license: {type: string}
|
unity_license: {type: string}
|
||||||
executor: unity_<< parameters.unity_version >>
|
executor:
|
||||||
|
name: unity
|
||||||
|
version: << parameters.unity_version >>
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- unity_activate
|
- unity_activate:
|
||||||
|
unity_version: << parameters.unity_version >>
|
||||||
|
unity_license: << parameters.unity_license >>
|
||||||
# - run:
|
# - run:
|
||||||
# name: Build Linux(Mono)
|
# name: Build Linux(Mono)
|
||||||
# command: /opt/Unity/Editor/Unity -quit -batchmode -nographics -silent-crashes -logFile -projectPath . -executeMethod UnitTestBuilder.BuildUnitTest /headless /ScriptBackend Mono2x /BuildTarget StandaloneLinux64
|
# command: /opt/Unity/Editor/Unity -quit -batchmode -nographics -silent-crashes -logFile -projectPath . -executeMethod UnitTestBuilder.BuildUnitTest /headless /ScriptBackend Mono2x /BuildTarget StandaloneLinux64
|
||||||
|
|
Loading…
Reference in New Issue