From 7cb6744371ea632c47ebf9d837e0491b7cdb93bd Mon Sep 17 00:00:00 2001 From: Tadashi Nemoto Date: Thu, 15 Jun 2023 17:00:57 +0900 Subject: [PATCH] Add ubuntu-container-runner executor (#53) * Add ubuntu-runner executor * container runner * Test conatiner runner * revert --------- Co-authored-by: Eric Ribeiro --- src/executors/ubuntu-container-runner.yml | 32 +++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/executors/ubuntu-container-runner.yml diff --git a/src/executors/ubuntu-container-runner.yml b/src/executors/ubuntu-container-runner.yml new file mode 100644 index 0000000..1d7c578 --- /dev/null +++ b/src/executors/ubuntu-container-runner.yml @@ -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-<>-<>-1' + environment: + - GAMECI_EDITOR_VERSION=<< parameters.editor_version >> + - GAMECI_TARGET_PLATFORM=<< parameters.target_platform >> + +resource_class: << parameters.resource_class >>