game-ci / unity-orb

Build and test Unity projects for several platforms using CircleCI.
https://circleci.com/developer/orbs/orb/game-ci/unity
MIT License
7 stars 12 forks source link

WebGL fails with Docker the medium resource class #6

Closed EricRibeiro closed 2 years ago

EricRibeiro commented 2 years ago

Orb version:

0.1.0

What happened:

The job fails with error code 137 when building a WebGL project on the Docker medium resource class. The error seems to be related to the container running out of memory: https://support.circleci.com/hc/en-us/articles/115014359648-Exit-code-137-Out-of-memory.

image

The same error doesn't occur with the Docker large resource class or above.

Expected behavior:

The orb executors should allow the users to specify the desired resource class. This fixes the WebGL error and enables users to take advantage of CircleCI's different resource classes.

Additional Information:

https://github.com/game-ci/unity-orb/tree/main/src/executors https://github.com/CircleCI-Public/resource-class-preview-docs