Commit Graph

9 Commits

Author SHA1 Message Date
Augusto Zanellato 4bdbb8d450 Rework CI pipeline
Changes made:
 - CI properly supports being ran on PRs and shouldn't fail anymore on
   the RRG repo;
 - The nonsense of unzipping archives during release creation isn't
   needed anymore because now there's an artifact that holds all the
   files (both zip and others) that should be included in a release;
 - Softdevice and Application verification were re-enabled (as per
   @doegox suggestion);
 - Softdevice is now bundled in `-firmware` artifact;
 - `dev` release tag is now updated ad every push to main;
 - On PRs a comment linking to artifact is now added by CI after
   success, artifact links are done with nightly.link so that they also
   fork for unauthenticated users;

There are some quirks:
 - on_pr runs on pull_request_target because it needs write access to
   packages, but pull_request_target implies that GITHUB_SHA is set to
   the base repo HEAD commit, so the whole `checkout-sha` thing is
   needed. This also implies that if one of the workflow files are
   changed in a PR the changed versions won't be ran against that same
   PR.
 - Client building per OS isn't yet implemented but all the necessary
   scaffolding is there. At the moment the per-OS clients are just a zip
   file containing all the client source.

Examples:
  - PR comment: https://github.com/augustozanellato/ChameleonUltra/pull/14#issuecomment-1688737709
  - `dev` release: https://github.com/augustozanellato/ChameleonUltra/releases/tag/dev
2023-08-22 20:58:01 +02:00
Philippe Teuwen d5f15b5f54 fix yml 2023-08-21 02:35:46 +02:00
Philippe Teuwen 8470c51d4a run CI on PR as well, skip if commit does not touch firmware code 2023-08-21 02:31:02 +02:00
Philippe Teuwen 423d212cf7 add authors and changelog files and reminder in CI 2023-08-21 02:17:00 +02:00
Augusto Zanellato ae48829a15 Use single release for dev builds
Fix workflow using deprecated stuff
2023-08-19 02:09:43 +02:00
Foxushka 8a786b36a4 Not required 2023-07-23 20:02:34 +00:00
Foxushka edbafc6c53 Upload DFU zip files to releases 2023-07-23 20:02:03 +00:00
Augusto Zanellato 92b3553c53 Generate DFU packages in CI 2023-07-16 12:35:53 +02:00
Augusto Zanellato 40f9778120 Add docker toolchain, add CI pipeline (#19) 2023-07-12 10:36:36 +08:00