extracting ubuntu-install-tools.sh

This commit is contained in:
Andrey 2024-10-14 14:03:07 -04:00
parent 0da9fe45b4
commit bf1116e636
7 changed files with 16 additions and 6 deletions

View File

@ -191,7 +191,7 @@ jobs:
- name: Install multilib, mingw, sshpass and mtools
run: |
sudo bash misc/actions/add-ubuntu-latest-apt-mirrors.sh
sudo apt-get install gcc-multilib g++-multilib g++-mingw-w64 gcc-mingw-w64 sshpass mtools zip dosfstools
sudo bash misc/actions/ubuntu-install-tools.sh
- name: Set Build Env Variables
working-directory: ./firmware/

View File

@ -30,7 +30,7 @@ jobs:
- name: Install Tools
run: |
sudo bash misc/actions/add-ubuntu-latest-apt-mirrors.sh
sudo apt-get install sshpass mtools
sudo bash misc/actions/ubuntu-install-tools.sh
- name: Build Config Definition Base and Enum to String
working-directory: ./java_tools/

View File

@ -22,7 +22,7 @@ jobs:
- name: Install multilib
run: |
sudo bash misc/actions/add-ubuntu-latest-apt-mirrors.sh
sudo apt-get install gcc-multilib g++-multilib mtools dosfstools zip
sudo bash misc/actions/ubuntu-install-tools.sh
- uses: actions/setup-java@v4
with:

View File

@ -30,7 +30,8 @@ jobs:
if: ${{ matrix.os != 'macos-latest' }}
run: |
sudo bash misc/actions/add-ubuntu-latest-apt-mirrors.sh
sudo apt-get install mtools zip dosfstools sshpass lcov valgrind
sudo bash misc/actions/ubuntu-install-tools.sh
sudo apt-get install lcov valgrind
- name: Install required software (macos)
if: ${{ matrix.os == 'macos-latest' }}

View File

@ -6,7 +6,8 @@
sudo apt-get update -y
# install dependencies
sudo apt-get install -y build-essential gcc gdb gcc-multilib g++-multilib make openjdk-11-jdk-headless ant mtools zip xxd libncurses5 libncursesw5
sudo bash misc/actions/ubuntu-install-tools.sh
sudo apt-get install -y build-essential gcc gdb gcc-multilib make openjdk-11-jdk-headless xxd libncurses5 libncursesw5
# delete any old tools, create a new folder, and go there
rm -rf ~/.rusefi-tools

View File

@ -18,7 +18,8 @@ git submodule update --init
sudo apt-get update
# install dependencies
sudo apt-get install -y build-essential gcc gdb gcc-multilib g++-multilib make openjdk-11-jdk-headless mtools zip xxd libncurses5 libncursesw5
sudo bash misc/actions/ubuntu-install-tools.sh
sudo apt-get install -y build-essential gcc gdb gcc-multilib make openjdk-11-jdk-headless xxd libncurses5 libncursesw5
# delete any old tools, create a new folder, and go there
rm -rf ~/.rusefi-tools

View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
# this script installs tools needed to compile ECU firmware, simulator and unit tests
#
# out of scope: JDK, ARM GCC compiler
apt-get install gcc-multilib g++-multilib g++-mingw-w64 gcc-mingw-w64 sshpass mtools zip dosfstools