Commit Graph

9 Commits

Author SHA1 Message Date
Philippe Teuwen e888115d3f build.sh: assoiative arrays are available only since Bash 4 and MacOS is still on some Bash 3... 2023-09-07 19:58:34 +02:00
Philippe Teuwen 922c025bf3 Fix issue #114 2023-09-07 10:47:13 +02:00
Augusto Zanellato 9d5cf21182 Fix non-clean builds failure
Fix flash-dfu-* scripts being now broken
2023-08-23 13:58:27 +02:00
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 f5111ee068 Update How_to_use_Firmware.md 2023-07-27 01:13:02 +02:00
Benjamin DELPY 9fb71143d4 Fix $hw_version in build.sh 2023-07-24 16:31:59 +02:00
Benjamin DELPY 8a58d0011b Clean nrf* part of build.sh + get device address & chip id 2023-07-23 00:58:03 +02: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