Skip to content

Commit

Permalink
Add ubuntu-container-runner executor (#53)
Browse files Browse the repository at this point in the history
* Add ubuntu-runner executor

* container runner

* Test conatiner runner

* revert

---------

Co-authored-by: Eric Ribeiro <[email protected]>
  • Loading branch information
tadashi0713 and EricRibeiro authored Jun 15, 2023
1 parent b3c83f4 commit 7cb6744
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions src/executors/ubuntu-container-runner.yml
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 >>

0 comments on commit 7cb6744

Please sign in to comment.