Skip to content
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

Add basic CI/CD pipeline #93

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GeckoEidechse
Copy link

This adds a basic GitHub Actions config that simply builds the binaries from scratch on commit push and pull requests, and uploads the resulting build artifacts.
A sample run can be seen here: https://github.com/GeckoEidechse/r5sdk/actions/runs/4084653963

Note that in terms of CI/CD this is rather bare bones as all it does is it simply builds the package to ensure no compilation errors and uploads the resulting binaries as artifacts which can then be used by playtesters.

GitHub generally only allows logged in users to download CI artifacts but you can sidestep that using a service like https://nightly.link/ which means that anyone can test pull requests without having to locally compile the PR or needing a GitHub account for download.

For reference I wrote a development tool for Northstar that makes use of CI build artifacts and nightly.link to 1-click download and install development builds for rapid PR testing. Adding basic CI/CD and publishing resulting build artifacts would enable similar tooling for r5sdk.

Simply builds the binaries from scratch on push and pull request and uploads the resulting build artifacts.
@GeckoEidechse
Copy link
Author

Note that you may have to enable GitHub actions in the repo settings for it to actually run in this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant