Commit Graph

57 Commits

Author SHA1 Message Date
dependabot[bot] 8b51a4ef75
Bump actions/checkout from 3 to 4 (#5548)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 09:09:12 -04:00
David Holdeman 259223cd29
Replace deprecated commands (#5470)
* fix set-output

* fix set-env

* fix add-path
2023-07-26 09:29:32 -04:00
David Holdeman e46a3f2376
new updater script (#5132) 2023-02-25 19:07:31 -04:00
Nathan Schulte 810d67cf6d
GitHub workflows: factor more ubuntu-latest mirrors to script (#5044) 2023-02-07 09:01:27 -04:00
Nathan Schulte 221f2584ca
GitHub workflows: more ubuntu-latest mirrors (#5038) 2023-02-06 17:50:26 -04:00
David Holdeman 68aaf49b6f
yeet apt-spy (#5017) 2023-01-30 21:07:42 -05:00
David Holdeman 04cfee6c65
Lean submodule fetching (don't merge until all green) (#5013)
* remove submodules

* check out ChibiOS

* oops, try depth

* check skip, get libfirmware

* lua

* uzlib

* luaaa

* wideband_firmware

* remove submodules

* googletest

* libfirmware

* lua

* luaaa

* wideband_firmware

* don't need skip

* remove submodules

* ChibiOS

* libfirmware

* lua

* wideband_firmware

* remove submodules, checkout ibom

* remove submodules

* remove submodules, checkout firmware stuff

* remove submodules

* remove submodules

* googletest

* googletest

* libfirmware

* lua, wideband_firmware

* hw lib

* remove fetch-depth: 0

* luaformatter

* openblt, luaformatter

* install unit test stuff

* try fetch depth 2

* need luaformatter for all builds
2023-01-29 04:43:27 -05:00
Nathan Schulte 4845b510fe
GitHub actions use apt-spy2, retry apt-get update (#4967)
* GitHub actions retry apt-get

* use primary (non-azure) Ubuntu archive

* remove newline in build-android.yaml

* apt-spy2
2023-01-13 05:35:59 -05:00
rusefillc a3621659ba ubuntu-latest right? 2022-11-29 22:59:01 -05:00
Matthew Kennedy ca623eb6ee
plumbing parts of 4621 (#4622)
* plumbing parts of 4621

* show error list

* exit on error too!

* this test has some unhealthy undefined behavior

* no uninitialized values

* no that doesn't work

* remove the invalid data and the bug becomes obvious
2022-09-25 18:49:54 -04:00
rusefillc a82a9cc3f7 reducing code duplication and making CI happier 2022-08-31 20:53:17 -04:00
rusefillc 0195fd489a i like it this way 2022-08-31 20:43:07 -04:00
rusefillc 205b567da5 progress 2022-08-27 15:19:35 -04:00
dependabot[bot] 15f1d68000
Bump actions/checkout from 2 to 3 (#4389)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-27 12:47:07 +03:00
rusefillc 5a84982c05 gcov coverage seems stale #3805 2022-01-18 08:35:37 -05:00
Scott Smith 62daac73c7
Use Valgrind to detect unitialized variable references. (#3555)
* Use Valgrind to detect unitialized variable references.

Fix the edge cases that pop up

* Comment and disable Mac run
2021-11-15 23:42:23 -05:00
Scott Smith 7011be6f86
Test for stack use after free in ASAN. (#3552)
Fix two cases that didn't affect the product, but did affect our ability to test.
2021-11-15 19:44:39 -05:00
Matthew Kennedy e7a1fb4aaa
unit test build times (#3489)
* don't emit assembly listings

* more

* extract coverage

* link coverage
2021-11-06 21:20:24 -04:00
David Holdeman c1b173a1e1
Use SSH for remaining workflows (#3407)
* install sshpass instead of ncftp

* don't use file for command

* change env vars

* replace ncftp with sshpass in docs

* switch gcov upload

* use heredoc instead of file

* convert ibom

* whoops

* messed up var

* remove quotes

* undo ini variable changes
2021-10-25 08:22:31 -04:00
David Holdeman f251e9829d
Fix GCOV upload (#3296)
* add check for push to master

* submo bump
2021-10-02 11:02:27 -04:00
rusefillc c473a5dca7 are we all drunk today? 2021-07-30 20:26:13 -04:00
David Holdeman 7dc3ba848f
Try installing software explicitly (#3083)
* try installing software

* no sude

* move install up

* install in hw ci

* install in simulator build
2021-07-30 20:18:53 -04:00
rusefillc 10dba2810a refactoring: explicit job names 2021-07-30 19:30:12 -04:00
Matthew Kennedy a4113f7ccc
shorter names (#3056) 2021-07-24 16:23:03 -04:00
rusefillc 9a36098493 GHA reliability story triggers/config fix #3010 2021-07-24 10:20:17 -04:00
Matthew Kennedy 3574de1da3
shard unit tests (#2906)
* scripts

* it found problems!

* off by one

* call bash maybe?
2021-07-04 22:28:31 -04:00
Andrey 2f69aadce9 Trigger: warning code on normal engine start up #669
unit tests are now invoked from unit_tests folder
2021-05-24 15:53:56 -04:00
rusefillc baffd58162 Run Tests from tests folder 2021-05-24 08:46:23 -04:00
rusefillc 2f92dc1ca7 false positive GHA drama #2446
poke #11
2021-03-14 04:39:40 -04:00
rusefillc 0633d57bc0 false positive GHA drama #2446
poke #10
2021-03-14 04:39:21 -04:00
rusefillc fb5853351d false positive GHA drama #2446
poke #9
2021-03-14 04:23:55 -04:00
rusefillc 0c67ff3b57 false positive GHA drama #2446
poke #8
2021-03-13 23:46:12 -05:00
rusefillc 80ee440f03 false positive GHA drama #2446
poke #6
2021-03-13 23:45:19 -05:00
David Holdeman 2122cc2e2d
try pulling first (#2448) 2021-03-13 18:16:47 -05:00
David Holdeman 27415a49a1
try fix (#2339) 2021-02-12 22:27:29 -05:00
David Holdeman 6349feda98
gen enums on unittest build (#2205) 2021-01-09 13:21:43 -05:00
Matthew Kennedy 2501a04305
Unit tests on mac with clang (#2179)
* os matrix

* try macos latest

* s

* mac doesn't do that

* comment

* does it even need this?

* nope, it doesn't
2021-01-04 22:10:51 -05:00
rusefillc e0eeb5cd7d nicer action names 2020-12-30 10:43:50 -05:00
rusefi d4230d1366 Trigger action (#2070) 2020-12-12 23:42:37 -05:00
rusefi 317a62ee5b Trigger action (#2070) 2020-12-12 23:12:23 -05:00
rusefi 21db8bd732 helping CI? 2020-12-12 22:40:12 -05:00
David Holdeman 840e260b67
Trigger action (#2070)
* push triggers.txt

* tricky whitespace

* remove from gitignore

* add

* echo output for debug

* change path
2020-12-12 21:36:41 -05:00
rusefillc 1f5006e169 No latest gcov #1973 2020-11-19 21:38:45 -05:00
rusefi 2ed9b3c6ea #1773 GHA unit_tests does not fail while it should
another wild shot
2020-09-08 13:50:30 -04:00
rusefi fefb9299a6 Revert "#1773 GHA unit_tests does not fail while it should shooting into the dark"
This reverts commit b794de86
2020-09-08 13:27:07 -04:00
rusefi b794de86f8 #1773 GHA unit_tests does not fail while it should
shooting into the dark
2020-09-08 13:24:52 -04:00
rusefi a856439601 #1773 GHA unit_tests does not fail while it should 2020-09-08 13:12:07 -04:00
rusefi 7c2fab82b2 #1773 GHA unit_tests does not fail while it should 2020-09-08 12:45:33 -04:00
David Holdeman 2aac840cec
Fix #1590 (#1602)
* Add checkout

* remove empty with statement

* Actually we do need push depth

* convert gen_upload_docs.bat

* convert run.bat

* forgot to add run.sh

* convert gen_upload_docs.bat

* remove checking from bats

* change config

* fix path

* fix path again

* fix file extension

* remove escapes

* added missing quotation and escapes

* convert build_current_bundle

* convert clean_bootloader

* convert compile_bootloader_discovery

* convert compile_bootloader

* add env var to skip upload

* remove checking from compile.bat

* working on push.yaml

* finish sorting

* progress

* rename push to builds

* rename push to builds

* Add skip upload env var

* fix pull_request name

* fixed typo and changed name

* fixed indentation and runs-on

* try different env var setup

* add nucleos and switch to underscore

* add quotes

* remove boards that were commented

* remove boards that were commented

* fix project board name

* fixed variable name

* add ini-file and console-settings

* try installing gcc-multilib first

* Install g++-multilib as well

* remove unnecessary export

* fixed exit numbers

* change to different env setup

* add simulator and console compilation to board bundles

* changed OS and added linux simulator build

* add checkout and missing colon

* add gcc-multilib installes

* Install mingw

* fixed install

* remove mingw from linux sim and call compile directly

* change directory

* moved envs to command

* debug ls

* debug ls

* set ftp vars

* add makefile debug info

* removed batchecks

* redirect stdout to easier see orrs

* change name

* remove redirect, add file inpection

* Add conditional project name

* Try software upgrade

* missing char

* update ine files

* try quotes

* add escapes

* add quotes

* add escapes and quotes

* remove quotes and escapes

* remove software upgrade

* ignore test 2

* update apt

* like this then

* forgot import

* fix case

* remove RUSEFI_SKIP_UPLOAD and check RUSEFI_FTP_SERVER instead

* break workflow back apart

* upload simulator artifact

* fixed operator

* update apt

* change paths

* Update build-firmware.yaml

* move update bundle to artifacts

* fix var name

* Install ncftp

* set env vars conditionally

* remove check so zips are created

* try things the github way and copy to primary

* re-enable test

* missing space

* use bash

* use bash

* add workflow

* add check before upload

* install kicad

* switch firmware to bash

* switch unit_testts to bash

* switch jenkins to bash

* fix path

* pwd

* checkout submodules

* add ppa for kicad 5.1

* install xvfb and set DISPLAY

* use xvfb

* use python3 and add NO_DISPLAY var

* fetch all

* remove blob

* undo unintentional changes

* reset accidentally commited config.xmlu

* remove submodule

* fix path

* Only call one board

* make simulator and console conditional

* break away bundle packaging

* pass bundle name

* switch to bash

* make primary bundle conditional

* break away packaging for primary and pass config names

* Add default name to unit tests

* add check to skip config

* add property to skip config, and fix check

* switch primary bundle to still build

* switch to bash

* move default config to its own script

* add exit 0

* go back to gen_config running all boards

* remove TS stuf8f

* remove TS stuff

* switch to gen_config_board

* switch to bash

* add kinetis back

* add check for kinetis

* rename compile_and_upload

* add error checking

* Revert "add error checking"

This reverts commit f6c9b7f2521f9c28ea150da8e733c593a59596a1.

* Add readme

Co-authored-by: David Holdeman <David Holdeman>
2020-07-14 10:28:26 -04:00
David Holdeman 6595d1d80e
Run gen scripts and unify firmware, simulator, and unit_tests workflows (#1506)
* add workflow and scripts

* select current branch

* added some comments

* unify build workflows for firmware, testing, and simulator

* move if to steps to keep from skipping

* debug

* Added comment

* Move simulator and unit tests back to their own files

* Move config and livedoc generation to its own file

* Add gen configs workflow
2020-06-18 18:31:54 -04:00