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)
|
||||
setup-license:
|
||||
image: ${IMAGE}:${UNITY_VERSION}-base-${IMAGE_VERSION}
|
||||
commands:
|
||||
commands: &license
|
||||
- chmod +x ${UNITY_DIR}/ci/before_script.sh
|
||||
- ${UNITY_DIR}/ci/before_script.sh
|
||||
- ls -lA /root
|
||||
- find /root/.local
|
||||
secrets: [unity_license]
|
||||
test-playmode:
|
||||
image: ${IMAGE}:${UNITY_VERSION}-base-${IMAGE_VERSION}
|
||||
group: test
|
||||
commands:
|
||||
- echo $HOME
|
||||
- find /root/.local
|
||||
- chmod +x ${UNITY_DIR}/ci/test.sh
|
||||
- ${UNITY_DIR}/ci/test.sh
|
||||
environment:
|
||||
- TEST_PLATFORM=playmode
|
||||
- TESTING_TYPE=NUNIT
|
||||
- VERSION_NUMBER_VAR=${CI_COMMIT_BRANCH}-${CI_BUILD_NUMBER}
|
||||
- VERSION_BUILD_VAR=${CI_COMMIT_HASH}
|
||||
image: ${IMAGE}:${UNITY_VERSION}-base-${IMAGE_VERSION}
|
||||
group: test
|
||||
commands:
|
||||
- <<: *license
|
||||
- chmod +x ${UNITY_DIR}/ci/test.sh
|
||||
- ${UNITY_DIR}/ci/test.sh
|
||||
environment:
|
||||
- TEST_PLATFORM=playmode
|
||||
- TESTING_TYPE=NUNIT
|
||||
- VERSION_NUMBER_VAR=${CI_COMMIT_BRANCH}-${CI_BUILD_NUMBER}
|
||||
- VERSION_BUILD_VAR=${CI_COMMIT_HASH}
|
||||
secrets: [unity_license]
|
||||
test-editmode:
|
||||
image: ${IMAGE}:${UNITY_VERSION}-base-${IMAGE_VERSION}
|
||||
group: test
|
||||
commands:
|
||||
- echo $HOME
|
||||
- find /root/.local
|
||||
- chmod +x ${UNITY_DIR}/ci/test.sh
|
||||
- ${UNITY_DIR}/ci/test.sh
|
||||
environment:
|
||||
- TEST_PLATFORM=editmode
|
||||
- TESTING_TYPE=NUNIT
|
||||
- VERSION_NUMBER_VAR=${CI_COMMIT_BRANCH}-${CI_BUILD_NUMBER}
|
||||
- VERSION_BUILD_VAR=${CI_COMMIT_HASH}
|
||||
image: ${IMAGE}:${UNITY_VERSION}-base-${IMAGE_VERSION}
|
||||
group: test
|
||||
commands:
|
||||
- <<: *license
|
||||
- chmod +x ${UNITY_DIR}/ci/test.sh
|
||||
- ${UNITY_DIR}/ci/test.sh
|
||||
environment:
|
||||
- TEST_PLATFORM=editmode
|
||||
- TESTING_TYPE=NUNIT
|
||||
- VERSION_NUMBER_VAR=${CI_COMMIT_BRANCH}-${CI_BUILD_NUMBER}
|
||||
- VERSION_BUILD_VAR=${CI_COMMIT_HASH}
|
||||
secrets: [unity_license]
|
||||
build-standalone-windows:
|
||||
image: ${IMAGE}:${UNITY_VERSION}-windows-mono-${IMAGE_VERSION}
|
||||
group: build
|
||||
commands:
|
||||
- <<: *license
|
||||
- chmod +x ./ci/build.sh
|
||||
- ./ci/build.sh
|
||||
environment:
|
||||
- BUILD_TARGET=StandaloneWindows64
|
||||
- VERSION_NUMBER_VAR=${CI_COMMIT_TAG}
|
||||
- VERSION_BUILD_VAR=${CI_COMMIT_HASH}
|
||||
secrets: [unity_license]
|
||||
when:
|
||||
event: tag
|
||||
package:
|
||||
|
Loading…
Reference in New Issue
Block a user