Skip to content

Conversation

@Les-Wet
Copy link
Contributor

@Les-Wet Les-Wet commented Dec 24, 2025

As discussed in issue #17, simple CI/CD for the unbricked portion of the tutorial would be beneficial. This would also help maintain the target RGBDS and hardware.inc versions (see #125 and #131). This PR implements simple bash scripts for each "snapshot" of the unbricked project. A top-level build script is also provided to build all and report the success or failure of each build. The latter can be easily integrated into a GitHub workflow to make sure that the code in this portion of the tutorial is build-able.

Feedback on my approach would be much appreciated. The individual bash scripts are simple so that they can be consulted by someone just learning game boy assembly (easier than make). They are all identical scripts so we could restructure, but at the risk of the scripts being harder to find for those following the tutorial. hardware.inc is unfortunately harder to maintain with this file structure since it is copied into each sub-folder. Maybe we could make this into a symlink to the version we wish to target? I think it was decided submodules aren't a good idea for this project.

I have not implemented the .yaml file yet for the GitHub workflow. I will tackle that once I get some feedback, should be trivial with the script(s) already in place.

This PR has the same content as #133 but cleans up the commit history (needed to fork the repository again).

@Les-Wet Les-Wet marked this pull request as draft December 24, 2025 07:05
@avivace avivace marked this pull request as ready for review December 25, 2025 20:57
@avivace avivace merged commit d83a59f into gbdev:master Dec 25, 2025
1 check passed
@@ -0,0 +1,5 @@
#!/bin/bash
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think sh is enough?

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.

3 participants