Commit Graph

5 Commits

Author SHA1 Message Date
Ancyker
2b01f7fc4d
Add checks for unsafe configurations
* Fixes #929
* Updated `ci.yml` to define `GITHUB_CI`
* Compilation will now error if VSELECT is enabled on hardware versions that don't support it (any version other than HW5).
  * HW4 and SERIAL might work but are untested. The error message for these versions reflects this.
* Erroring when unsafe configurations are defined can be overridden by defining `ALLOW_UNSAFE_CONFIG` which will throw a warning instead.
  * This should only be done if trying to implement or test on a currently unsupported platform.
  * If both `GITHUB_CI` and `ALLOW_UNSAFE_CONFIG` are defined an error will be thrown causing the CI tests to fail. This is just in case someone makes a commit with it defined.
2024-06-02 11:56:08 -04:00
Ancyker
7c6f5f3920
Update ci.yml 2023-03-29 21:14:49 -04:00
Vincent Pelletier
bfbbe922ad Github workflow: Enable all compiler warnings
So regressions have a chance of being spotted.
Sadly, there does not seem to be a flag to enable -Werror, so the CI will
succeed even with warnings.
2022-11-05 05:04:37 +00:00
Niklas Weber
95858bdda3 Use a matrix instead of defining each job manually 2022-09-24 21:42:20 +02:00
Niklas Weber
84d24118c6 Add build workflow to build code for each HW rev. 2022-09-06 17:47:23 +02:00