Commit Graph

81 Commits

Author SHA1 Message Date
Matthew Kennedy 830f6206d0 script cruft 2024-03-07 22:19:50 -08:00
Matthew Kennedy da1ad5b34f scripts should fail harder when they fail 2024-03-07 22:17:37 -08:00
Matthew Kennedy 048d36745d more script cleanup 2024-03-01 11:30:46 -08:00
Matthew Kennedy 6767720927 check for empty or null 2023-05-12 12:02:10 -07:00
Matthew Kennedy 54b7063349 manually name builds instead of using branch name 2023-05-12 11:32:49 -07:00
Matthew Kennedy 8f6c81dbac build script tweaks -> date in folder name #91 2023-05-12 00:18:52 -07:00
Matthew Kennedy ff98133f34 scripts 2023-02-22 15:29:48 -08:00
Matthew Kennedy 5d7a30ce2b no qc 2023-02-22 14:53:31 -08:00
Matthew Kennedy 72acb81682 fome-ify 2023-02-21 02:29:22 -08:00
Matthew Kennedy d269139aa4 cleanups 2023-02-21 01:11:34 -08:00
Matthew Kennedy 40d2c9d2a8 pass board dir to scripts instead of board name (#5022)
* pass board dir instead of name

* makefiles

* dead file?

* hw ci

* unit tests

* fix sd card generation while we're here

* actually test sd category

* jar

* clean merge

* jar for good measure

* fix f767 properly
2023-02-06 08:37:17 -04:00
rusefillc 0f9d8cf294 Issue 4992 (#5009)
* change bundle name

(cherry picked from commit c3dea808adee1588e2cabc2019df0d383a4ba580)

* set primary bundle name

(cherry picked from commit 4fd1e86657b82ca975dfa34387b7ab2c4b5d92f6)

* autoupdate subdir

(cherry picked from commit 1a817285b5e20f7264432a7e9145b1e35d4e95fe)

* try passing empty strings

(cherry picked from commit 2efcafef6b439aa300c49e4e1bfe036a2a8d6b07)

* fix folder logic

(cherry picked from commit e38ce6221f1e21e0f6496c1b1f21505c1c7559b3)

* don't need empty strings duh

(cherry picked from commit c20585cbc26dd03bda87905494c573680ca7a6be)

* encapsulate ini file

---------

Co-authored-by: David Holdeman <david@chuckwagoncomputing.com>
2023-01-28 12:51:55 -05:00
David Holdeman b482434f94 fix (#4994) 2023-01-21 22:41:09 -05:00
David Holdeman c2227b51cd LTS - one way of doing things (#4989)
* add lts option

* upload logic

* proper grouping

* proper quoting

* it's boolean duh

* try toJSON, fix
2023-01-22 06:54:07 +05:30
rusefillc 477ce177f4 +x 2022-08-16 19:51:40 -04:00
rusefillc 03e93a1f19 improving scripts? 2022-05-07 05:50:14 -04:00
Matthew Kennedy 58c18f8df9 goodbye f746 (#2309) 2021-02-07 07:52:57 -06:00
rusefillc 2ab853bd19 hellen72 2021-01-08 13:30:35 -05:00
rusefillc 9fedcbffe4 pwd 2021-01-08 13:09:22 -05:00
rusefi 1d99e908a1 cypress into GHA #1819 2020-09-27 06:13:58 -04:00
David Holdeman 4774380e0b pass ini file (#1612) 2020-07-17 22:32:53 -04:00
David Holdeman 41e9cdef8d Fix Bundles (#1610)
* facepalm

* define BUNDLE_NAME

* oops
2020-07-16 20:51:55 -04:00
David Holdeman 2e6bf309e0 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 a2078e9cfe Switch to Bash (#1585)
* switch firmware to bash

* switch unit_testts to bash

* switch jenkins to bash
2020-07-09 10:27:20 -04:00
David Holdeman d4d5a699f0 Use github actions to build and upload bundles (#1583)
* 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
2020-07-08 11:10:24 -04:00
rusefi eee51a575f progress - consuming new .ini file names 2020-07-06 01:17:50 -04:00
rusefi 9634c83f43 s/COMPILE_FOLDER/BOARD_NAME/ 2020-07-06 00:05:22 -04:00
rusefi 41d89f0d59 trying to simplify things a bit 2020-07-05 23:09:43 -04:00
rusefi 07dae88c39 bugfix - bundle name inside bundle 2020-07-02 23:28:08 -04:00
David Holdeman 8a7220d989 Convert jenkins build_extra_bundles scripts to sh (#1554)
* Add checkout

* remove empty with statement

* Actually we do need push depth

* convert build_working_folder

* convert prepare_bundle

* fixed extension

* fixed closing bracket

* fixed comparison and assignments

* no comment

* convert compile_and_upload and clean

* convert build_simulator

* Finish converting build_working_folder

* convert build_java_console

* Add hashbangs

* remove findcyg instruction

* changed paths

* remove call

* add path

* fixed script names

* add prams

* fix cd

* convert clean_env_variables

* convert common_make.sh

* Added linux hex2dfu binary

* add file extension to linux hex2dfu

* add file extension to linux hex2dfu

* remove spurious paren

* fixed board name

* convert compile-frankenso-na6

* convert compile-frankenso-pal

* add hashbang

* convert compile-kinetis

* convert compile-mre-f4

* convert compile-mre-f4-hardware-QC-special-build

* convert compile-mre-f4-slave

* convert compile-mre-f7

* convert compile-mre-f7-test

* switch to underscores

* converting boards to sh

* convert prometheus

* convert proteus

* fixed path

* switch to underscores

* chmod and add extension

* add quotes

* Add check for Windows

* Add chmod

* fix script name

* fix error checking

* quote vars

* remove checking from batch shims

* fix typo

* change error checking to support nix style error codes

* switch to 1 retval

* cd back to firmware

* Add escapes

* change from cd to rel path

* add p flags to mkdir

Co-authored-by: David Holdeman <David Holdeman>
2020-07-01 14:09:01 -04:00
rusefi b839464f02 autoupdate file 2020-06-06 17:53:53 -04:00
rusefi 12e8caf5fe bundle_full_name 2020-06-06 17:26:39 -04:00
rusefi 71032041d7 bundle_name.ini 2020-06-06 17:17:33 -04:00
rusefi 68fea52129 safer name for QC build 2020-05-23 17:18:26 -04:00
rusefi 5e202930f4 pre-sets progress 2020-05-22 13:12:16 -04:00
rusefi 2f38eb468a MRE to top of build sequence 2020-05-22 09:15:56 -04:00
rusefi d58c64ea17 less important now 2020-05-09 16:41:24 -04:00
rusefi 043cf5ccaf making CI just a bit quicker 2020-04-23 17:35:47 -04:00
rusefi a806f14c24 f4-slave 2020-03-29 21:42:43 -04:00
rusefi ed947d5ce6 proteus-f4 was requested 2020-03-18 09:32:46 -04:00
rusefi d645ea2d1e more Proteus CI 2020-02-02 08:42:05 -05:00
rusefi 81e7a50174 proteus build into CI 2020-02-01 14:27:41 -05:00
rusefi e2d2bd9996 reducing code duplication & including kinetis 2019-12-04 07:50:46 -05:00
rusefi eaf28ff8c4 F7 else... 2019-11-20 23:00:55 -05:00
rusefi 1addb8cfc7 jenkins reuse for PR 2019-11-20 19:46:46 -05:00
rusefi b171b5ebd4 we have MRE F4 now 2019-11-06 18:58:11 -05:00
rusefi fe62eef7ee mre-test 2019-08-30 22:25:34 -04:00
rusefi 50566de168 F7 bundles rusEfi console should erase and program using F7 configs #893 2019-07-31 22:26:12 -04:00
rusefi b30b5e7ebc simulator into other bundles 2019-07-13 17:21:20 -04:00
rusefi fb237a5b9a fixing build 2019-07-07 17:50:51 -04:00