Skip to content

Use workflow job matrix for builds #444

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 14, 2022
Merged

Use workflow job matrix for builds #444

merged 1 commit into from
Oct 14, 2022

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Oct 14, 2022

Previously, a single GitHub Actions workflow job was used to make tester, nightly, and release builds of the application.

These builds were done serially. A more efficient approach is to run the builds in parallel. This is accomplished by using a job matrix, where each target has its own generated job in the workflow.

Previously, checksum generation code was present both in the taskfile and in the workflows (due to the need to update the macOS checksum after the notarization process done in the workflow). The checksum generation is now done exclusively in the build workflows.


This is a sync of the enhancement made by @MatteoPologruto in the reusable project assets hosted in the upstream repository:

arduino/tooling-project-assets#277


Test runs of the updated workflows:

A "Publish Tester Build" workflow run will be triggered for this pull request.

Previously, a single GitHub Actions workflow job was used to make tester, nighly, and release builds of the application.

These builds were done serially. A more efficient approach is to run the builds in parallel. This is accomplished by
using a job matrix, where each target has its own generated job in the workflow.

Previously, checksum generation code was present both in the taskfile and in the workflows (due to the need to update
the macOS checksum after the notarization process done in the workflow). The checksum generation is now done exclusively
in the build workflows.
@per1234 per1234 added type: enhancement Proposed improvement topic: infrastructure Related to project infrastructure labels Oct 14, 2022
@per1234 per1234 self-assigned this Oct 14, 2022
@per1234 per1234 merged commit 59bef4f into arduino:main Oct 14, 2022
@per1234 per1234 deleted the update-release-system branch October 24, 2022 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: infrastructure Related to project infrastructure type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants