From 5b08131528e9ac9b763e7145d6aa7cfe9cda6bc9 Mon Sep 17 00:00:00 2001 From: Yoshifumi Kawai Date: Mon, 20 May 2019 01:34:37 +0900 Subject: [PATCH] C I --- .circleci/config.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5a58ea8..4566fdf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,8 +6,10 @@ executors: - image: gableroux/unity3d:2018.3.12f1 commands: unity_activate: + parameters: + unity_version: {type: string} + unity_license: {type: string} steps: - # requires: parameters.unity_version and parameters.unity_license. # 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: /opt/Unity/Editor/Unity -quit -batchmode -nographics -logFile -createManualActivationFile || exit 0 @@ -17,6 +19,9 @@ commands: - run: /opt/Unity/Editor/Unity -quit -batchmode -nographics -silent-crashes -logFile -manualLicenseFile .circleci/Unity.ulf || exit 0 jobs: build-and-test: + parameters: + unity_version: {type: string} + unity_license: {type: string} executor: unity_<< parameters.unity_version >> steps: - checkout