polpo / picogus

Emulation of ISA sound cards on Raspberry Pi Pico (GUS, Adlib, MPU-401, Tandy, CMS)
GNU General Public License v2.0
518 stars 34 forks source link

Add Github Actions CI, build improvements #16

Closed maxgerhardt closed 8 months ago

maxgerhardt commented 9 months ago
  1. Let all firmwares be built by free Github Actions CI runners (Linux / Ubuntu latest) with fixed Pico-SDK and toolchain versions. Prevents "Only my computer can build the firmware" problems
  2. Upload built firmwares as artifact in a nice ZIP file (see e.g. here)
  3. Print firmware size at the end of a build
  4. Do not override PICO_SDK_PATH in CMakeLists.txt. The pico_sdk_import.cmake will already set this variable based on environment variables and other factors. A good environment should have PICO_SDK_PATH set as env variable. (Still left in as comment)
  5. Add comment on problematic LTO line that prevents building with regular SDK
polpo commented 9 months ago

Thank you for doing this! I’ve been wanting to do builds with CI runners for a while so I appreciate your effort.

polpo commented 8 months ago

Merged! Thanks again @maxgerhardt. I think I'll take a stab at automatically building pgusinit with an OpenWatcom action.