Skip to content

Commit

Permalink
Merge branch 'main' into feat_no_output_timeout_param
Browse files Browse the repository at this point in the history
  • Loading branch information
EricRibeiro authored Sep 19, 2022
2 parents caa714a + cc81411 commit 284bc96
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
14 changes: 13 additions & 1 deletion src/jobs/build.yml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,14 @@ parameters:
If left to "false" for decompressed WebGL builds, you can run the project directly from the CircleCI web app.
no_output_timeout:
type: string
default: "10m"
default: "20m"
description: Elapsed time the command can run without output.
return-license:
type: boolean
default: false
description: |
Whether to return the license used to build the project.
Unity only allows returning professional licenses.
executor: << parameters.executor >>

Expand All @@ -90,3 +96,9 @@ steps:
- return-license:
unity-username-var-name: << parameters.unity-username-var-name >>
unity-password-var-name: << parameters.unity-password-var-name >>
- when:
condition: <<parameters.return-license>>
steps:
- return-license:
unity-username-var-name: << parameters.unity-username-var-name >>
unity-password-var-name: << parameters.unity-password-var-name >>
14 changes: 13 additions & 1 deletion src/jobs/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,14 @@ parameters:
More information can be found on: https://docs.unity3d.com/Packages/com.unity.test-framework@2.0/manual/reference-command-line.html
no_output_timeout:
type: string
default: "10m"
default: "20m"
description: Elapsed time the command can run without output.
return-license:
type: boolean
default: false
description: |
Whether to return the license used to test the project.
Unity only allows returning professional licenses.
executor: << parameters.executor >>

Expand All @@ -70,3 +76,9 @@ steps:
- return-license:
unity-username-var-name: << parameters.unity-username-var-name >>
unity-password-var-name: << parameters.unity-password-var-name >>
- when:
condition: <<parameters.return-license>>
steps:
- return-license:
unity-username-var-name: << parameters.unity-username-var-name >>
unity-password-var-name: << parameters.unity-password-var-name >>

0 comments on commit 284bc96

Please sign in to comment.