2020-08-26 07:27:11 -07:00
Github Actions is currently in charge of:
2021-05-24 11:43:43 -07:00
2022-12-28 19:28:56 -08:00
* Firmware Builds: continuous integration publishing at [https://rusefi.com/build_server/ ](https://rusefi.com/build_server/ )
2020-08-26 07:27:11 -07:00
* Console Builds
* Simulator Builds
* Android App Builds
* TS Plugin Builds
* Generating configs
* Running Unit Tests
* Generating Coverity code coverage pages
* Generating Doxygen documentation
* Generating iBOMs for hardware
2022-12-28 19:28:56 -08:00
* Uploading .ini files into rusEFI Online database using RUSEFI_SSH_USER
2020-08-26 07:27:11 -07:00
* Generating Hardware PCB visual diffs
* Updating date stamps for builds
* Synchronizing between rusefi/rusefi/wiki to rusefi_documentation repo
We have tried to keep Jenkins working in case we need to revert to it.
## Jenkins setup
2023-01-02 11:22:23 -08:00
### Jobs
2021-05-24 11:43:43 -07:00
2020-08-26 07:27:11 -07:00
1) unit_tests
2) integration_and_primary_bundle
3) documentation
4) build_extra_bundles
5) git2svn_sync
### Install Cygwin
2023-01-02 11:22:23 -08:00
2022-01-24 18:48:01 -08:00
[Download Cygwin ](https://cygwin.com/install.html )
2020-08-26 07:27:11 -07:00
Cygwin packages that need to be installed:
2021-05-24 11:43:43 -07:00
2023-01-02 11:22:23 -08:00
* make
* gcc-core
* mingw64-i686-gcc-core
* mingw64-i686-gcc-g++
* mingw64-x86_64-gcc-core
* mingw64-x86_64-gcc-g++
* python3
* git
* subversion
* doxygen
* zip
* ncftp
* wget
* ccache
* graphviz
2020-08-26 07:27:11 -07:00
### Install Java JDK 8
2023-01-02 11:22:23 -08:00
2022-01-24 18:48:01 -08:00
[Download JDK 8 ](https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html )
2020-08-26 07:27:11 -07:00
2023-01-02 11:22:23 -08:00
### Install Ant
2022-01-24 18:48:01 -08:00
[Download Ant ](https://ant.apache.org/ )
2020-08-26 07:27:11 -07:00
### Install Jenkins
2023-01-02 11:22:23 -08:00
2022-01-24 18:48:01 -08:00
[Download Jenkins ](https://jenkins.io/download/ )
2020-08-26 07:27:11 -07:00
### Install Kicad
2023-01-02 11:22:23 -08:00
2022-01-24 18:48:01 -08:00
[Download Kicad ](https://www.kicad.org/download/ )
2020-08-26 07:27:11 -07:00
for iBom automation
### Install for Hardware Testing
2023-01-02 11:22:23 -08:00
2020-08-26 07:27:11 -07:00
#### ST Link Utility
2023-01-02 11:22:23 -08:00
2022-01-24 18:48:01 -08:00
[STM32 ST-Link Utility ](http://www.st.com/st-web-ui/static/active/en/st_prod_software_internet/resource/technical/software/utility/stsw-link004.zip )
2023-01-02 11:22:23 -08:00
2020-08-26 07:27:11 -07:00
#### ST Virtual Serial Driver
2023-01-02 11:22:23 -08:00
2022-01-24 18:48:01 -08:00
[STM32 Virtual COM Port Driver ](http://www.st.com/web/en/catalog/tools/PF257938 )
2020-08-26 07:27:11 -07:00
2023-01-02 11:22:23 -08:00
### System Environment Variables
2020-08-26 07:27:11 -07:00
|Variable|Example|
|--|--|
|CCACHE_DIR|C:\ccache |
|ANT_HOME|C:\Program Files\apache-ant-1.10.8|
|JAVA_HOME|C:\Program Files\Java\jdk1.8.0_251|
|RUSEFI_FTP_SERVER|ftp.yourdomain.com|
|RUSEFI_BUILD_FTP_USER|rusefi_firmware|
|RUSEFI_BUILD_FTP_PASS|secretpass|
|RUSEFI_DOXYGEN_FTP_USER|rusefi_doxygen|
|RUSEFI_DOXYGEN_FTP_PASS|secretpass|
2023-01-02 11:22:23 -08:00
### Add to Path
2020-08-26 07:27:11 -07:00
|Tool|Example|
|--|--|
|Java|C:\Program Files (x86)\Common Files\Oracle\Java\javapath|
|Java|%JAVA_HOME%\bin|
|Ant|%ANT_HOME%\bin|
|Cygwin|C:\cygwin64\bin|
|GCC|C:\Program Files (x86)\GNU Arm Embedded Toolchain\9 2020-q2-update\bin|
### Additional Jenkins set-up
2023-01-02 11:22:23 -08:00
#### Additional plugins
* Pipeline GitHub Notify Step
2020-08-26 07:27:11 -07:00
2022-01-24 19:24:14 -08:00
[Show current state of Jenkins build on GitHub repo - StackOverflow ](https://stackoverflow.com/questions/14274293/show-current-state-of-jenkins-build-on-github-repo )
2020-08-26 07:27:11 -07:00
2022-01-24 18:48:01 -08:00
[https://github.com/settings/tokens ](https://github.com/settings/tokens )
2020-08-26 07:27:11 -07:00
Discard Old Build
smtphost: smtp.gmail.com
r***@gmail.com
useSsl=yes