simavr icon indicating copy to clipboard operation
simavr copied to clipboard

Add Github Action CI + Windows compile fix

Open maxgerhardt opened this issue 1 year ago • 0 comments

Successfully test-compiles for

  • Windows 64-bit (using MSys2)
  • Windows 32-bit (using MSys2)
  • Linux x64
  • Linux x86
  • Linux ARM (ARMv6l, ARMv7l, AArch64, a.k.a, Raspbis)
  • Mac OS 14 (source)

And uploads the binary packages for it. They were tested to run a firmware fine on Windows.

Includes a tiny compilation fix for Windows based builds which apparently don't have the random() function (only available on Unix-like systems), so uses rand() instead. Breakage introduced in https://github.com/buserror/simavr/commit/3bb6c1d455e0f3f374261917ceaea1fab40b53a9.

Please squash upon merge to not have 10 commits.

For the run logs, see e.g. https://github.com/maxgerhardt/simavr/actions/runs/9536475177/

maxgerhardt avatar Jun 16 '24 13:06 maxgerhardt