-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ubuntu-container-runner executor (#53)
* Add ubuntu-runner executor * container runner * Test conatiner runner * revert --------- Co-authored-by: Eric Ribeiro <[email protected]>
- Loading branch information
1 parent
b3c83f4
commit 7cb6744
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
description: | | ||
Select the Editor version and Target Platform for the GameCI image. | ||
Available target platforms can be found at: https://game.ci/docs/docker/versions. | ||
For information on how to setup a Runner agent, see: https://circleci.com/docs/container-runner-installation/. | ||
parameters: | ||
target_platform: | ||
description: | | ||
Pick the target platform for the GameCI image. | ||
Available options can be found at https://game.ci/docs/docker/versions. | ||
The 2018 release doesn't support the "linux-il2cpp" target platform. | ||
type: enum | ||
enum: [ "android", "base", "ios", "linux-il2cpp", "mac-mono", "webgl", "windows-mono" ] | ||
editor_version: | ||
description: | | ||
Pick the editor version for the GameCI image. | ||
Make sure to pick the same major version as the Unity version you generated the license for. | ||
Available options can be found at https://game.ci/docs/docker/versions. | ||
type: string | ||
resource_class: | ||
description: | | ||
Enter your Runner resource class. | ||
For information on how to setup a Runner agent, see: https://circleci.com/docs/container-runner-installation/. | ||
type: string | ||
|
||
docker: | ||
- image: 'unityci/editor:ubuntu-<<parameters.editor_version>>-<<parameters.target_platform>>-1' | ||
environment: | ||
- GAMECI_EDITOR_VERSION=<< parameters.editor_version >> | ||
- GAMECI_TARGET_PLATFORM=<< parameters.target_platform >> | ||
|
||
resource_class: << parameters.resource_class >> |