Commit Graph

28 Commits

Author SHA1 Message Date
rusefi 8bcc3aeb64 https://github.com/rusefi/web_backend/issues/73
toolset progress
2020-08-14 15:56:59 -04:00
kon c725604cc2 chmod +x *.sh 2020-08-06 21:45:34 -07: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 779029caed
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
rusefi f735713acb and now I need to get all this working again 2020-07-06 01:29:00 -04:00
rusefi d791508d71 progress - consuming new .ini file names 2020-07-06 01:17:50 -04:00
rusefi 1deecb35a8 generated 2020-07-06 01:09:05 -04:00
rusefi 585b0f8011 generated 2020-07-06 01:06:27 -04:00
rusefi 22dd627c56 generated folder 2020-07-06 01:01:30 -04:00
rusefi d78089be81 SHORT_BOARDNAME becomes BUNDLE_NAME 2020-07-06 00:48:43 -04:00
rusefi 5e1a4044bd SHORT_BOARDNAME becomes BUNDLE_NAME 2020-07-06 00:29:30 -04:00
rusefi a2b14cb297 trying to simplify things a bit 2020-07-05 23:09:43 -04:00
rusefi 7b4281fcc5 progress 2020-07-05 22:44:45 -04:00
rusefi 1534ad4f81 refactoring & docs 2020-07-05 22:39:55 -04:00
andreika-git 1e8bebd5b3
Gen config refactor 2 (#1560)
* gen_config refactor, part II

* short board defines

* oops

* comment & undef

* define QUOTE

Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-07-02 12:33:31 -04:00
andreika-git 11f1988803
Gen config refactor 1 (#1558)
* fix signature

* gen_config refactor, part I

* Add empty cache.zip

Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-07-02 08:16:18 -04:00
David Holdeman b4807708c8
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 d537780086 life is great 2020-06-30 20:49:16 -04:00
rusefi 04407b41fd would simpler script be more reliable? 2020-06-30 20:43:27 -04:00
andreika-git 44a12604cc
Ini signature generation (#1539)
* ini signature generator

* sh->bash

* decimal fix

* octal fix

* fix shell arrays

* use the new -signature option instead of -prepend

* /bin/sh

Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-06-28 13:39:09 -04:00
andreika-git 3635d0077a
gen_config cache (#1543)
* use cache for gen_config

* create dummy cache files to store them in github

* fix typo

* comment

* text

Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-06-28 10:00:11 -04:00
andreika-git 76bfbf62d6
gen_config is no more lazy (#1541)
* gen_config: replace lazyFile with timestamp checks

* board_generator: use LazyFile

* fix romraider and TOTAL_CONFIG_SIZE

* merge

Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-06-27 14:23:51 -04:00
rusefi 05932f9e75 fixing stuff by reducing the gap between Windows and Linux scripts 2020-06-16 14:12:27 -04:00
rusefi 8177122af6 progress 2020-06-16 12:56:01 -04:00
rusefi 960e517be9 -skip not really needed 2020-06-14 12:40:00 -04:00
kon ae278d3acb
updated linux gen_config files (#1493) 2020-06-14 12:38:33 -04:00
rusefi 39671f3c33 "-skip" is probably not needed anymore 2020-05-23 19:39:04 -04:00
dron0gus 4aba7756e2 scripts: add gen_config, gen_config_board and gen_enum_to_string for Linux (#1081) 2020-01-02 18:58:28 -05:00