Commit e678e262 authored by 神楽坂玲奈's avatar 神楽坂玲奈

ci

parent e4daec6e
Pipeline #38911 failed
before_script: before_script:
- mkdir -p ~/.local/share/unity3d/Unity - mkdir -p ~/.local/share/unity3d/Unity
- ln -sf $UNITY_LICENSE ~/.local/share/unity3d/Unity/Unity_lic.ulf - ln -sf $UNITY_LICENSE ~/.local/share/unity3d/Unity/Unity_lic.ulf
- sed -E '/^ scriptingBackend:/,/^ \b/ s/^( Standalone: )\d/\10/' ProjectSettings/ProjectSettings.asset
- cat ProjectSettings/ProjectSettings.asset
- echo '-unsafe' > Assets/csc.rsp # why why why ???
stages: stages:
- prepare - prepare
...@@ -9,21 +12,6 @@ stages: ...@@ -9,21 +12,6 @@ stages:
variables: variables:
GIT_DEPTH: '1' GIT_DEPTH: '1'
# 为了简便先设置 scriptingBackend 为 Mono。原本是 il2cpp。
prepare:
stage: prepare
image:
name: mikefarah/yq
entrypoint: [""]
tags:
- linux
script:
- yq eval '.PlayerSettings.scriptingBackend.Standalone = 0' -i ProjectSettings/ProjectSettings.asset
- echo '-unsafe' > Assets/csc.rsp # why why why ???
artifacts:
paths:
- ProjectSettings/ProjectSettings.asset
.unity: .unity:
stage: build stage: build
tags: tags:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment