set up license for every unity invocation
This commit is contained in:
parent
3c31c751f2
commit
5793bb04a3
@ -23,7 +23,7 @@ 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: &license
|
commands:
|
||||||
- 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
|
||||||
secrets: [unity_license]
|
secrets: [unity_license]
|
||||||
@ -31,7 +31,7 @@ pipeline:
|
|||||||
image: ${IMAGE}:${UNITY_VERSION}-base-${IMAGE_VERSION}
|
image: ${IMAGE}:${UNITY_VERSION}-base-${IMAGE_VERSION}
|
||||||
group: test
|
group: test
|
||||||
commands:
|
commands:
|
||||||
- <<: *license
|
- ${UNITY_DIR}/ci/before_script.sh
|
||||||
- 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:
|
||||||
@ -44,7 +44,7 @@ pipeline:
|
|||||||
image: ${IMAGE}:${UNITY_VERSION}-base-${IMAGE_VERSION}
|
image: ${IMAGE}:${UNITY_VERSION}-base-${IMAGE_VERSION}
|
||||||
group: test
|
group: test
|
||||||
commands:
|
commands:
|
||||||
- <<: *license
|
- ${UNITY_DIR}/ci/before_script.sh
|
||||||
- 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:
|
||||||
@ -57,7 +57,7 @@ pipeline:
|
|||||||
image: ${IMAGE}:${UNITY_VERSION}-windows-mono-${IMAGE_VERSION}
|
image: ${IMAGE}:${UNITY_VERSION}-windows-mono-${IMAGE_VERSION}
|
||||||
group: build
|
group: build
|
||||||
commands:
|
commands:
|
||||||
- <<: *license
|
- ${UNITY_DIR}/ci/before_script.sh
|
||||||
- chmod +x ./ci/build.sh
|
- chmod +x ./ci/build.sh
|
||||||
- ./ci/build.sh
|
- ./ci/build.sh
|
||||||
environment:
|
environment:
|
||||||
|
Loading…
Reference in New Issue
Block a user