Commit Graph

273 Commits

Author SHA1 Message Date
Matthew Kennedy 8124c2a12d 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 bb6c4c3400 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
rusefillc 01b28d39cf Configuration Definition CI needs CI, we had tests failing 2021-10-24 13:42:37 -04:00
rusefillc 5ccf45b89f Configuration Definition CI needs CI, we had tests failing 2021-10-24 13:35:28 -04:00
David Holdeman 06835a6a75 Use SSH to upload firmware (#3394)
* install sshpass instead of ncftp

* use ssh

* change env vars

* fix checks and sftp>ssh
2021-10-22 16:36:15 -04:00
David Holdeman 09d5159961 Change vars and use docs dir (#3390) 2021-10-22 09:07:35 -04:00
David Holdeman 33c826a810 Use SSH for Pinouts (#3388)
* switch to ssh

* ssh env vars
2021-10-21 19:42:06 -04:00
David Holdeman 981b16ced9 Use SSH for Doxygen (#3386)
* install sshpass and change var names

* convert doxygen script

* no stricthostkeychecking

* change secrets
2021-10-21 19:15:25 -04:00
rusefillc e6bbc1c386 poke 2021-10-19 07:57:22 -04:00
rusefillc 0ebd5646c2 docs 2021-10-18 22:43:03 -04:00
Matthew Kennedy 56afeb17c8 Fix simulator (#3360)
* fix simulator

* print out halt reason

* option to close simulator after time

* workflow calls it

* test with the bug still present

* ...and fix the bug
2021-10-17 20:07:25 -04:00
rusefillc d5de9f8b17 Move pinouts to pages.rusefi.com #170 2021-10-13 21:01:21 -04:00
rusefillc 3c0f961bc3 hellen88bmw 2021-10-11 20:58:10 -04:00
rusefillc bcc52347c4 GHA reliability: retry FTP upload #3011
refactoring: reducing code duplication
2021-10-09 01:46:29 -04:00
rusefillc 19f72ec099 GHA reliability: retry FTP upload #3011
refactoring: more proper file name

TODO: more proper file location :)
2021-10-09 01:43:56 -04:00
David Holdeman 6ae5156d4c Fix GCOV upload (#3296)
* add check for push to master

* submo bump
2021-10-02 11:02:27 -04:00
rusefillc 3f26ed1a95 Reduce scripts code duplication between matrix and primary build #3182 2021-08-20 15:34:21 -04:00
rusefillc 327736adb4 please Push fresh triggers.txt 2021-08-08 05:28:53 -04:00
rusefillc ee59cfd346 NB1 2021-08-07 13:02:39 -04:00
rusefillc 4d7ca03538 hellen154hyundai 2021-08-03 22:52:10 -04:00
rusefillc 99af32c920 hellen154hyundai 2021-08-03 22:26:33 -04:00
David Holdeman 5b286c80f6 Remove install (#3084) 2021-07-30 21:17:28 -04:00
rusefillc e86f621139 are we all drunk today? 2021-07-30 20:26:13 -04:00
rusefillc 27d082aa15 are we all drunk today? 2021-07-30 20:22:32 -04:00
David Holdeman 4b6fc07f69 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 cfd3f733b8 RUSEFI MSD to contain bundle-specific URL #2848
sooo confusing
2021-07-30 19:53:49 -04:00
rusefillc 60472e98af refactoring: explicit job names 2021-07-30 19:30:12 -04:00
David Holdeman 2636844313 Add mtools (#3082) 2021-07-30 18:46:52 -04:00
Matthew Kennedy 9ea307a534 atlas build stub (#3065)
* add atlas configs

* script

* prepend

* s

* stubs

* apparently board.mk can't set cpu

* s
2021-07-26 01:04:58 -04:00
Matthew Kennedy 1a9f1745b3 stlinnk v2 has a different name (#3057) 2021-07-24 16:54:44 -04:00
Matthew Kennedy 2c9bd6f4b0 check for stlink with lsusb (#3055)
* s

* s
2021-07-24 16:23:32 -04:00
Matthew Kennedy d62ad292ff shorter names (#3056) 2021-07-24 16:23:03 -04:00
rusefillc 7a906b05b7 GHA reliability story triggers/config fix #3010 2021-07-24 10:26:15 -04:00
rusefillc 4711224f74 GHA reliability story triggers/config fix #3010 2021-07-24 10:20:17 -04:00
Andrey 3a21fe285f ACTIONS_ALLOW_UNSECURE_COMMANDS Unable to process command '::add-path::/home/runner/work/rusefi/rusefi/yqdir/' successfully. #3023 2021-07-21 20:31:09 -04:00
David Holdeman 20e57974b7 Fix ini name (hellen128mercedes drama) (#3020)
* fix

* redo yaml pram

* git add

* poke
2021-07-21 19:23:17 -04:00
Andrey b4078fd5df Revert "Fix hellen again (#2993)"
This reverts commit 0de253cb
2021-07-20 13:30:06 -04:00
David Holdeman 0de253cb0a Fix hellen again (#2993)
* fix comment

* unfix

* actual fix I think

* test poke
2021-07-20 09:06:03 -04:00
rusefillc 0e96aa4992 Fix hellen128mercedes (#2988) 2021-07-19 22:00:09 -04:00
David Holdeman 731d98bc9f Fix hellen128mercedes (#2988)
* switch back

* submo bump

* fix maybe
2021-07-19 00:12:14 -04:00
rusefi d9c45c1ee1 Hellen128 doesn't have .ini in bundle #2981 2021-07-18 16:13:41 -04:00
Andrey 9a482a005e Hellen128 doesn't have .ini in bundle #2981 2021-07-18 15:52:21 -04:00
David Holdeman e8ce3738f7 Fix #2981 (#2983)
* get yq from GH releases

* submo bump

* little hack

* didn't work, fix properly

* oh roight

* got it backwards

* poke
2021-07-17 21:41:45 -04:00
David Holdeman dd16dae30a Freeze yq version (#2954)
* get yq from GH releases

* submo bump
2021-07-12 19:09:01 -04:00
Matthew Kennedy bafc376e92 shard unit tests (#2906)
* scripts

* it found problems!

* off by one

* call bash maybe?
2021-07-04 22:28:31 -04:00
rusefillc aea2ffc5d1 revert to safety 2021-06-25 01:07:36 -04:00
rusefillc e5ba9b5302 console ant should be self-contained - one ant invocation should build things 2021-06-25 00:41:03 -04:00
Matthew Kennedy c9324d4182 does this work? (#2843) 2021-06-21 08:56:23 -04:00
Matthew Kennedy 5ae4af23fe parse with antlr (#2747)
* grammar and libs

* gitignore

* parsing

* allow empty line as root statement

* tolerate #if

* config def changes

* s

* ant build

* workaround

* compiled tool

* console should not build config def tool

* ugh the dependency tree is insane

* this should fix hw ci

* console build

* console jenkins script

* test

* Revert "test"

This reverts commit 73f2da50f990bee9b51a1f919e8fcc6b06327d9a.

* throw on parse failure

* jar

* fix #2821

* comment
2021-06-16 17:07:05 -04:00
Andrey 914a38bca8 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 42a5fd4010 Run Tests from tests folder 2021-05-24 08:46:23 -04:00
Matthew Kennedy c17e4af490 Proteus legacy vs. non-legacy F7 (#2657)
* proteus f7 is not necessarily legacy

* script

* don't need that any more

* yaml and script

* rename
2021-05-08 18:44:19 -04:00
rusefi 3ed6d49caf proteus_f7_hardware_QC_special_build 2021-05-08 10:32:21 -04:00
rusefillc 6ba32c65a6 NA6 ini is not uploaded fix #2649 2021-05-07 19:18:43 -04:00
rusefillc d9312252bd h121 poke 2021-05-01 20:43:09 -04:00
rusefillc bcb7ca4171 h64 is asking for a poke 2021-04-29 23:00:22 -04:00
rusefillc e288993863 Smarter pinout re-generation #2564 2021-04-27 18:35:05 -04:00
David Holdeman 754f95552e add option for manually running workflow (#2588) 2021-04-26 23:26:03 -04:00
rusefillc 0af17b87af hellen64 scripts and pinout #2565 2021-04-19 09:12:47 -04:00
rusefillc 305d38dabf hellen64 scripts and pinout #2565 2021-04-18 22:03:43 -04:00
David Holdeman 7a850a4835 Fix sync wiki try numero dos (#2510)
* if actor is not actions-user

* accidental submo bump

* try single quotes
2021-03-29 22:45:29 -04:00
David Holdeman ea0688b0bc Only run if actor is not actions-user (#2502)
* if actor is not actions-user

* accidental submo bump
2021-03-27 19:53:51 -04:00
rusefillc 8723e09043 false positive GHA drama #2446
poke #11
2021-03-14 04:39:40 -04:00
rusefillc 9cf93a1dfa false positive GHA drama #2446
poke #10
2021-03-14 04:39:21 -04:00
rusefillc 454e7981a1 false positive GHA drama #2446
poke #9
2021-03-14 04:23:55 -04:00
rusefillc 0dcba43909 false positive GHA drama #2446
poke #8
2021-03-13 23:46:12 -05:00
rusefillc f29663c0df false positive GHA drama #2446
poke #6
2021-03-13 23:45:19 -05:00
David Holdeman 745a38ecb0 try pulling first (#2448) 2021-03-13 18:16:47 -05:00
rusefillc b5264e64db Revert "would separating installs make error more obvious?"
This reverts commit 981e631f
2021-03-13 16:34:08 -05:00
rusefillc 981e631fe1 would separating installs make error more obvious? 2021-03-13 07:29:41 -05:00
David Holdeman 85467c2edd Checkout ramdisk images (#2447)
* checkout ramdisk images

* fix whitespace

* add comment
2021-03-12 21:47:59 -05:00
Matthew Kennedy 792de13069 build h7 proteus (#2429)
* build h7

* scripts

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-07 16:43:00 -05:00
Matthew Kennedy caa161db42 STM32H7 Slow ADC (#2421)
* extract

* guard

* put some back

* put back

* slow is actually 500hz so slow is fine here

* no magic

* fix printFullAdcReport

* cast

* implement h7 adc ish

* analog switches

* bad merge

* no map avg on h7

* fix master while we're at it

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-04 20:58:56 -05:00
Matthew Kennedy 8edb115113 Embed ini (#2417)
* replace null device with rusefi ini

* comment

* warning

* stub ramdisk for when we don' thave an image

* maybe generate the image with a build

* install mtools

* fail on error

* install deps _before_ we need them

* embed a little readme

* oops
2021-03-03 07:50:53 -05:00
rusefillc 2e1a4b289d H7 nucleo build does not have artifacts #2389 maybe? 2021-02-23 19:17:58 -05:00
Andrey G 4b5da445f1 Subaru build (#2376)
* Subaru EG33: gen_config.sh update

* gen_config and gen_enum_to_string for subaru_eg33 board too

* Subaru eg33: add to buildables

* Subaru: fix build

* Subaru eg33: fix build and cleanup

* subaru eg33: add compile script

* github: subaru_eg33: call special  gen_config.sh
2021-02-18 18:18:13 -05:00
rusefi 619bb3012f we shall insist on JDK 8 2021-02-17 10:21:52 -05:00
rusefi d1a2ed6b4e we shall insist on JDK 8 2021-02-17 10:07:09 -05:00
David Holdeman c05adf024b don't try to overwrite sync-wiki.yaml (#2355)
* don't try to overwrite sync-wiki.yaml

* add comments
2021-02-14 22:04:00 -05:00
David Holdeman 565395ad8d try fix (#2339) 2021-02-12 22:27:29 -05:00
David Holdeman 99ebf23a38 switch back to cron (#2298) 2021-02-09 00:35:40 -05:00
Matthew Kennedy 5dc2ef7a09 add proteus hw ci yaml (#2304)
* add yaml

* it may help if I got the name right

* s

* poke

* clean

* kick

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-08 20:53:44 -05:00
Matthew Kennedy 8cc6ef83f9 h7 flash, guard against no CAN (#2317)
* h7 flash

* guard some other stuff

* I guess it just builds now?

* maybe ci too
2021-02-08 16:24:38 -05:00
Matthew Kennedy 58c18f8df9 goodbye f746 (#2309) 2021-02-07 07:52:57 -06:00
David Holdeman 850f8643ac Actually do fetch submodules for IBOM (#2296)
* guess we do need submodules for ibom

* ooops
2021-02-06 12:58:46 -06:00
David Holdeman 55a238e83d Decouple Doxygen, IBOMs, and Pinouts (#2293)
* split workflow file

* split scripts

* add jobs

* fix paths

* fix job names

* try

* switch to push for testing

* switch back to ftp, remove unneeded ppas

* dont fetch submodules
2021-02-06 13:43:43 -05:00
David Holdeman 613c0822d5 Try SSH instead of FTP (#2290)
* try ssh

* oops

* fix path
2021-02-06 09:10:51 -06:00
David Holdeman 2848f203bc Fix doxygen (#2286)
* install graphviz to fix missing dot command

* try excludes

* can't use newline

* try

* add ChibiOS-Contrib
2021-02-05 23:09:02 -05:00
David Holdeman 2279b6499d Remove Push requirement from gen docs (#2277)
* debug

* change flags

* remove push requirement
2021-02-05 07:54:41 -06:00
Matthew Kennedy 7af3931032 hardware ci tweaks (#2266)
* frankenso config

* Revert "frankenso config"

This reverts commit 5bb2375ba2d33ae487273eaa5b7a4f12e8a9cecc.

* add hardware CI flag for proteus

* rename ci job

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-02 08:14:24 -06:00
David Holdeman 2a6efec24f Pinouts Improvements (#2263)
* redo pinout generation in ci script

* missing operand

* fix some errors

* copy yaml

* more bugs

* fix bug

* wait for image to load

* set background color for hover in dark theme

* add feature: click on rows to select pin

* change cursor to pointer

* undo accidental submodule bump

* oops
2021-02-01 17:31:36 -06:00
Matthew Kennedy 45696eb7d2 hardware CI on github actions (#2252)
* test

* test

* s

* s

* g2 not g3

* s

* s

* use new pool

* identify step

* rename build

* clean first

* kick the hive

* apparently I have old openocd

* poke

* s

* s

* what if we force a port

* oh come on java

* that's all good now

* Revert "what if we force a port"

This reverts commit 64165ecf39c534bd6d4a54aa676be132760118d7.

* simplify

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-31 17:35:12 -05:00
David Holdeman 638b04095c iBOM improvements (#2239)
* switch to official ppa

* remove xvfb dependency

* gen all boards

* redirect output

* seems xvfb is still needed

* undocumented commands?

* update InteractiveHtmlBom

* try without xvfb again

* remove tracks flag, move nets flag to var

* Undo rescue entry
2021-01-28 19:41:24 -05:00
rusefillc 3c62dfc39d mre_f4_recovery build 2021-01-28 17:46:49 -05:00
David Holdeman a5f3f79f52 gen enums on unittest build (#2205) 2021-01-09 13:21:43 -05:00
David Holdeman 4e55b7f729 gen enums on sim build (#2203) 2021-01-09 13:03:58 -05:00
andreika-git 3dac7599c4 Hellen72 config (#2200)
* Hellen72 config

* Hellen72 files

Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2021-01-08 12:50:13 -05:00
Matthew Kennedy c1b98505fd 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
rusefi 7bb0a1f0c0 docs 2021-01-02 17:20:50 -05:00
shadowm60 e0d1a57bfd Haltech as dash option (#2165)
* Haltech as dash option

* Update build-firmware.yaml

added generate enums for build-primary-bundle
2020-12-31 12:22:01 -05:00