Commit Graph

42 Commits

Author SHA1 Message Date
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
David Holdeman 1aa51c25f2
Move gcov to Github Actions (#1500)
* Add gcov generation

* Install missing software

* Change working directory

* typo

* Added echo statements

* Enquote args

* add test for args

* add error message

* replace return with exit

* added extra line returns
2020-06-16 17:39:50 -04:00
Matthew Kennedy 9d8cd24219 fix (#1136) 2020-02-09 20:19:47 -05:00
Matthew Kennedy ac79a51893 Add workflow for firmware, fix simulator build, trigger builds on PR (#1018)
* add firmware yaml

* Comments

* run other things on pr

* test simulator build

* update first

* friendly names

* friendly name
2019-11-20 23:34:55 -05:00
Matthew Kennedy 9f231bed94 multi process
(cherry picked from commit 3437ca628fd977db4800c6fd8143fb5c712d4289)
2019-11-20 20:52:26 -05:00
Matthew Kennedy 9e1b22fc48 run tests
(cherry picked from commit b5dcdef7c15c65887c8a540fc6dcfc206407ddf9)
2019-11-20 20:52:12 -05:00
Matthew Kennedy d239f35192 Update build-unit-tests.yaml
(cherry picked from commit 88e28a3d5a6fea3dd07116378ee24f9bd5924c07)
2019-11-20 20:52:06 -05:00
Matthew Kennedy 4a9d837450 Create build-unit-tests.yaml
(cherry picked from commit e2a7be57b60ec82771225c7526ed9ce50f9910de)
2019-11-20 20:51:50 -05:00