Enable unity licensing server for macOS #735
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
GameCI currently supports Unity license server activation, but the Bash scripts for the macOS platform have not been updated to support this functionality. While there was a previous PR addressing this, it has not yet been merged. 😭 This PR revisits and adapts the changes from the previous PR to fit the current Linux-based script structure.
Additionally, since BSD
grep
(used on macOS runners) does not support Perl-compatible regular expressions, the regex pattern used for license token parsing has been updated to ensure compatibility.UNITY_LICENSING_SERVER
environment variable is setgrep
Related Issues
Related PRs
Successful Workflow Run Link
I have successfully tested this in our private repository and have attached logs from tests, showing the use of the Unity license server at each step. Since the implementation closely follows the Linux version, I expect it to work without any issues. If necessary, I can provide the full log file of workflows (with secrets masked).
Activate license
Build
Return license
Checklist
code of conduct
in the documentation repo)