You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This job is responsible for validating a successful building of a player on WebGl standalone platform.
5
+
# This job is responsible for validating a successful building of a player on WebGl standalone platform.
6
6
# This job WILL NOT execute any tests, we only validate the building process.
7
-
# This is because WebGL runs in browser and for tests to be executed we would need to consider having a web server, browser automation and overall complex test setup which currently we don't have.
8
-
7
+
# This is because WebGL runs in browser and for tests to be executed we would need to consider having a web server, browser automation and overall complex test setup which currently we don't have.
# WebGL requires IL2CPP scripting backend (Mono is not supported)
17
17
# We are not using ARM64 architectures since we only perform a build action. x64 architectures are preferred for build phase (in order to optimize available resource usage)
18
18
# We only perform build validation (no runtime testing)
# In the future we could try to implement an infrastructure to run test in webgl context but this could be quite complicated and would need to be evaluated if it's worth it
22
22
# To see where this job is included (in trigger job definitions) look into _triggers.yml file
23
23
# WebGL jobs were timing up more often in develop-2.0.0 branch (especially on trunk) so we increased the timeout from 1800 to 3600. We should investigate why it times more often in develop-2.0.0/ubuntu/trunk
- unity-downloader-cli --fast --wait -u {{ editor }} -c Editor -c webgl -c il2cpp {% if platform.name == "mac" %} --arch arm64 {% endif %} # For macOS we use ARM64 models. Downloading the editor with additional webgl and il2cpp components
41
-
41
+
42
42
# The following step builds the player with defined options such as:
43
43
# Suite parameter if defined since it's a mandatory field to define which test suite should be used, but it doesn't matter in this case since we won't run any tests (--suite)
44
44
# Editor is run in batchmode, which means that Unity runs command line arguments without the need for human interaction. It also suppresses pop-up windows that require human interaction (such as the Save Scene window). We should always run Unity in batch mode when using command line arguments, because it allows automation to run without interruption. (--extra-editor-arg=-batchmode)
45
45
# Engine is initialized in ‘nographics’ mode since we don't need any graphics for this case (--extra-editor-arg=-nographics)
46
-
# In case of failure the job will be rerunned once (--reruncount=1) with clean library (--clean-library-on-rerun)
47
-
# This will perform only building phase (--build-only) with a timeout of 3m (--timeout=1800)
0 commit comments