game-ci / docker

Series of CI-specialised docker images for Unity.
https://hub.docker.com/u/unityci
MIT License
400 stars 124 forks source link

drone unity #192

Open bbhxwl opened 1 year ago

bbhxwl commented 1 year ago

What command can be used to compile the program used by Windows?

kind: pipeline
type: docker
name: autoUpload
node:
  name: nas-runner
steps:
  - name: 自动编译
    image: unityci/editor:2021.3.13f1-base-1.0.1
    commands:
      - ls
      - unity-editor help
webbertakken commented 1 year ago

I'm not sure I follow. Could you describe a little bit more about what you're trying to do exactly?

bbhxwl commented 1 year ago

I'm not sure I follow. Could you describe a little bit more about what you're trying to do exactly?

I want to use drone to automatically compile unity's webgl and windows software. I don't know how to run the command.

Iam1337 commented 1 year ago

Hi, I have progressed a little further in running GameCi on Drone, but I am catching errors like this:

-----CompilerOutput:-stdout--exitcode: 139--compilationhadfailure: True--outfile: Temp/SQLite-net.dll
-----CompilerOutput:-stderr----------
/opt/unity/Editor/Data/Tools/RoslynScripts/unity_csc.sh: line 13:   646 Segmentation fault      (core dumped) "/opt/unity/Editor/Data/Tools/RoslynScripts/../../Tools/Roslyn/csc" /shared /utf8output /noconfig @Temp/UnityTempFile-ad3774e7893a727a9bf2292a1ea1bf4a
-----EndCompilerOutput---------------

or

AcceleratorClientConnectionCallback - disconnected - :0
/home/bokken/build/output/unity/unity/PlatformDependent/Linux/External/baselib/builds/Include/C/Baselib_ThreadLocalStorage.inl.h(13): Assertion failed (rc == 0)
Caught fatal signal - signo:5 code:128 errno:0 addr:(nil)

Used: unityci/editor:ubuntu-2020.3.44f1-windows-mono-1.0.1