Skip to content

Autobuild: Combine scripts into single script per-platform #2503

@hoffie

Description

@hoffie

What is the current behaviour and why should it be changed?

  • The autobuild scripts have grown a lot and are hard to reason about.
  • Code is duplicated within the same platform (GITHUB_WORKSPACE handling), across platforms (e.g. mac & ios are very similar, yet they are copies).
  • They rely on the discouraged, insecure Github feature ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true' (which could be worked around, but why do that if we can make it redundant?)

Describe possible approaches

My plan is to combine all the platform-specific scripts into a single per-platform script.

Has this feature been discussed and generally agreed?

Previous announcement: #2282 (reply in thread)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions