Add Build Actions for Multiple Platforms
Description
Describe in detail what this Pull Request does and why it’s needed. Include anything the reviewers need to be aware of.
Now that ATProtoKit officially works on more platforms, the time is needed to add build actions for each platform (macOS, iOS, visionOS, tvOS, watchOS, Linux, Windows, and Android).
This PR will contain the following:
- Each platform will contain the ability to run Swift for a specific platform:
- iOS
- macOS
- tvOS
- visionOS
- watchOS
- Ubuntu Linux
- Windows
- Android
- Each action can be triggered from the following:
- Manually triggered.
- Through a PR (that's been approved).
- When pushing a commit to the
mainbranch.
- The last three Swift versions will be run, beginning with Swift 6.
Linked Issues
Link any related issues here. Format: #[issue number]
Type of Change
- [ ] Bug Fix
- [x] New Feature
- [ ] Documentation
Checklist:
- [ ] My code follows the ATProtoKit API Design Guidelines as well as the Swift API Design Guidelines.
- [ ] I have performed a self-review of my own code and commented it, particularly in hard-to-understand areas.
- [ ] I have made corresponding changes to the documentation.
- [ ] My changes generate no new warnings or errors in the compiler or runtime.
- [ ] My code is able to build and run on my machine.
Screenshots (if applicable)
Attach any screenshots or GIFs showcasing the changes effect.
Additional Notes
Add any other notes about the Pull Request here.
For the ones on Apple platforms, attempts will be made to cache the Swift versions for the sake of not using up a ton of macOS action minutes.
For Android and Windows, Swift builds will only begin from Swift 6.1.
Credits
If you want to be credited in the CONTRIBUTORS file, you can fill out the form below. Please don't remove the square brackets.