Seting up a CICD pipeline in GitHub

Hello all

I’m currently struggling how to setup a GitHub pipeline to be able to compile and release a binary for an upload.

For an example I would like to be able to upload the following code to GitHub, and for it to compile the binary for a ‘Arduino Uno’ then create a release for said binary

void setup() {
  pinMode(LED_BUILTIN, OUTPUT);
}

void loop() {
  digitalWrite(LED_BUILTIN, HIGH);
  delay(1000);
  digitalWrite(LED_BUILTIN, LOW);
  delay(1000);
}

Any advice or pointers to examples or reading material will be greatly appreciated

Many thanks
Alextrical

Have you already been successfull at the “Compile my firmware using PlatformIO” by using the documented instructions?

https://docs.platformio.org/en/latest/integration/ci/github-actions.html

ah, perfect, I think that’s the guide I was needing/looking for. I will run through that now and see how it goes

I had previously been using the example found on the GitHub example, with a few issues getting it to run without errors (Mostly to do with testing the compiled binary)