1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-13 19:40:27 +03:00
Commit graph

108 commits

Author SHA1 Message Date
Alberto García Hierro
fe24e611af [CMAKE] Consider warnings as errors during CI 2020-08-26 15:50:18 +01:00
Alberto García Hierro
9ac514c107 [CMAKE] Run all CI jobs using CMake
- Fix compilation on case sensitive filesystems
- Fix case sensitive paths in F7 drivers
- Fix warnings related to MSC redefinition
- Fix invalid dual gyro definition in FOXEERF722V2
- Remove FURYF3, KFC32F3_INAV and SPRACINGF3EVO from releases
- Always use usbd_storage_sd_spi.c for SDCARD + MSC
- Add targets for SPEEDYBEEF7, FRSKYPILOT and FRSKY_ROVERF7
- Add BUILD_SUFFIX configure-time option
- Add COMPILER_VERSION_CHECK boolean option defaulting to ON
2020-08-26 15:40:14 +01:00
Alberto García Hierro
d957371550 [CI] Cleanup intermediate files after building each target
This reduces the amount of required disk space, so we don't hit
the GH CI limits. Note that hex files are kept until the end of
the run for uploading the binaries to an artifact, but they're
quite small compared to all the intermediate data.
2020-04-26 21:33:42 +01:00
Alberto García Hierro
f30de03672 [CI] Use actions/cache to cache the ARM toolchain
This way we avoid having the ARM toolchain as an artifact when
the run ends and it also lets us reuse the cache from different
runs.

Also, make sure the whole file is indented with 2 spaces.
2020-03-31 21:51:35 +01:00
Alberto García Hierro
489d2af639 [CI] Trigger CI on PR only
There's no way to trigger CI on push OR PR, since the CI build
on push is triggered immediately and when the PR is created the
push run is already underway.

Also, make some cosmetic changes to the artifact name to include
the date, inav version and git revision.
2020-03-31 21:49:44 +01:00
Alberto García Hierro
ba30bd9ab8 [CI] Trigger CI workflow on PRs coming from forks 2020-03-28 14:16:51 +00:00
Alberto García Hierro
3ba7452351 [CI] Make the GH CI test job require all the build jobs first
This way we only need to mark the test job as required.
2020-03-28 10:11:53 +00:00
Alberto García Hierro
ace367beb1 [CI] Add GH action for CI
Add a workflow file which is triggered on every commit, runs the
tests and tries to compile all targets with -Werror.

On each run of the actions, all the built binaries are saved as
build artifacts, so this can be helpful for providing binaries
for testing.
2020-03-27 17:14:28 +00:00