set up license for every unity invocation
This commit is contained in:
parent
2a4f2449d7
commit
3c31c751f2
@ -23,48 +23,48 @@ pipeline:
|
|||||||
- test "$UNITY_VERSION" = $(grep "m_EditorVersion:" "${UNITY_DIR}/ProjectSettings/ProjectVersion.txt" | cut -d' ' -f2)
|
- test "$UNITY_VERSION" = $(grep "m_EditorVersion:" "${UNITY_DIR}/ProjectSettings/ProjectVersion.txt" | cut -d' ' -f2)
|
||||||
setup-license:
|
setup-license:
|
||||||
image: ${IMAGE}:${UNITY_VERSION}-base-${IMAGE_VERSION}
|
image: ${IMAGE}:${UNITY_VERSION}-base-${IMAGE_VERSION}
|
||||||
commands:
|
commands: &license
|
||||||
- chmod +x ${UNITY_DIR}/ci/before_script.sh
|
- chmod +x ${UNITY_DIR}/ci/before_script.sh
|
||||||
- ${UNITY_DIR}/ci/before_script.sh
|
- ${UNITY_DIR}/ci/before_script.sh
|
||||||
- ls -lA /root
|
|
||||||
- find /root/.local
|
|
||||||
secrets: [unity_license]
|
secrets: [unity_license]
|
||||||
test-playmode:
|
test-playmode:
|
||||||
image: ${IMAGE}:${UNITY_VERSION}-base-${IMAGE_VERSION}
|
image: ${IMAGE}:${UNITY_VERSION}-base-${IMAGE_VERSION}
|
||||||
group: test
|
group: test
|
||||||
commands:
|
commands:
|
||||||
- echo $HOME
|
- <<: *license
|
||||||
- find /root/.local
|
- chmod +x ${UNITY_DIR}/ci/test.sh
|
||||||
- chmod +x ${UNITY_DIR}/ci/test.sh
|
- ${UNITY_DIR}/ci/test.sh
|
||||||
- ${UNITY_DIR}/ci/test.sh
|
environment:
|
||||||
environment:
|
- TEST_PLATFORM=playmode
|
||||||
- TEST_PLATFORM=playmode
|
- TESTING_TYPE=NUNIT
|
||||||
- TESTING_TYPE=NUNIT
|
- VERSION_NUMBER_VAR=${CI_COMMIT_BRANCH}-${CI_BUILD_NUMBER}
|
||||||
- VERSION_NUMBER_VAR=${CI_COMMIT_BRANCH}-${CI_BUILD_NUMBER}
|
- VERSION_BUILD_VAR=${CI_COMMIT_HASH}
|
||||||
- VERSION_BUILD_VAR=${CI_COMMIT_HASH}
|
secrets: [unity_license]
|
||||||
test-editmode:
|
test-editmode:
|
||||||
image: ${IMAGE}:${UNITY_VERSION}-base-${IMAGE_VERSION}
|
image: ${IMAGE}:${UNITY_VERSION}-base-${IMAGE_VERSION}
|
||||||
group: test
|
group: test
|
||||||
commands:
|
commands:
|
||||||
- echo $HOME
|
- <<: *license
|
||||||
- find /root/.local
|
- chmod +x ${UNITY_DIR}/ci/test.sh
|
||||||
- chmod +x ${UNITY_DIR}/ci/test.sh
|
- ${UNITY_DIR}/ci/test.sh
|
||||||
- ${UNITY_DIR}/ci/test.sh
|
environment:
|
||||||
environment:
|
- TEST_PLATFORM=editmode
|
||||||
- TEST_PLATFORM=editmode
|
- TESTING_TYPE=NUNIT
|
||||||
- TESTING_TYPE=NUNIT
|
- VERSION_NUMBER_VAR=${CI_COMMIT_BRANCH}-${CI_BUILD_NUMBER}
|
||||||
- VERSION_NUMBER_VAR=${CI_COMMIT_BRANCH}-${CI_BUILD_NUMBER}
|
- VERSION_BUILD_VAR=${CI_COMMIT_HASH}
|
||||||
- VERSION_BUILD_VAR=${CI_COMMIT_HASH}
|
secrets: [unity_license]
|
||||||
build-standalone-windows:
|
build-standalone-windows:
|
||||||
image: ${IMAGE}:${UNITY_VERSION}-windows-mono-${IMAGE_VERSION}
|
image: ${IMAGE}:${UNITY_VERSION}-windows-mono-${IMAGE_VERSION}
|
||||||
group: build
|
group: build
|
||||||
commands:
|
commands:
|
||||||
|
- <<: *license
|
||||||
- chmod +x ./ci/build.sh
|
- chmod +x ./ci/build.sh
|
||||||
- ./ci/build.sh
|
- ./ci/build.sh
|
||||||
environment:
|
environment:
|
||||||
- BUILD_TARGET=StandaloneWindows64
|
- BUILD_TARGET=StandaloneWindows64
|
||||||
- VERSION_NUMBER_VAR=${CI_COMMIT_TAG}
|
- VERSION_NUMBER_VAR=${CI_COMMIT_TAG}
|
||||||
- VERSION_BUILD_VAR=${CI_COMMIT_HASH}
|
- VERSION_BUILD_VAR=${CI_COMMIT_HASH}
|
||||||
|
secrets: [unity_license]
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
package:
|
package:
|
||||||
|
Loading…
Reference in New Issue
Block a user