Swift project is beginning to explore the use of GitHub Actions within the swiftlang organization. In order to reduce the duplication of workflows across the organization, we are creating a new repository named github-workflows to store reusable workflows. This initiative will also enable us to standardize the testing matrix, while still allowing repository code owners the flexibility to define their own testing plans.
The repository will house workflows to support various types of repositories, including Swift Package and Swift Compiler.
I will provide updates in this thread as we are ready to roll out GitHub Actions to more repositories. We are keeping this to limited repositories as we explore using GitHub Actions across the swiftlang organization at scale.
Next steps:
Add additional checks (soundness, benchmarks, and more).
Support additional platforms as we figure out the self-hosted solutions.
Has any one experimented with the linux-build and windows-build jobs in their own repos outside the swift org? I was trying to brainstorm what it would look like to build a GitHub action that could test linux and windows on my open source project.
It's possible that these jobs can be made to work on other repos… has anyone tried getting those working on their own GitHub actions? Are there any gotchas or blockers I should know about before getting started?