mirror of https://github.com/FOME-Tech/fome-fw.git
more script cleanup
This commit is contained in:
parent
02783b63cb
commit
048d36745d
|
@ -311,8 +311,9 @@ jobs:
|
||||||
# Build the simulator
|
# Build the simulator
|
||||||
- name: Build simulator
|
- name: Build simulator
|
||||||
if: ${{ env.full == 'true' }}
|
if: ${{ env.full == 'true' }}
|
||||||
|
working-directory: ./simulator/
|
||||||
# 'OS="Windows_NT"' allows us to build Windows executable on unix
|
# 'OS="Windows_NT"' allows us to build Windows executable on unix
|
||||||
run: OS="Windows_NT" SHORT_BOARD_NAME=${{matrix.build-target}} bash misc/jenkins/build_simulator.sh
|
run: OS="Windows_NT" SHORT_BOARD_NAME=${{matrix.build-target}} ./compile.sh
|
||||||
|
|
||||||
- name: Download LibOpenBLT Tool (Linux)
|
- name: Download LibOpenBLT Tool (Linux)
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
echo "TIMESTAMP $(date "+%D %T.%2N") Building rusefi simulator"
|
|
||||||
pwd
|
|
||||||
cd simulator
|
|
||||||
gcc -v
|
|
||||||
make -v
|
|
||||||
mkdir -p out
|
|
||||||
rm -rf build
|
|
||||||
rm -rf .dep
|
|
||||||
bash compile.sh
|
|
||||||
ls build
|
|
||||||
cd ..
|
|
||||||
[ -e simulator/build/fome_simulator.exe ] || [ -e simulator/build/fome_simulator ] || { echo "SIMULATOR COMPILATION FAILED"; exit 1; }
|
|
|
@ -13,7 +13,6 @@ SCRIPT_NAME=compile_and_upload.sh
|
||||||
echo "Entering $SCRIPT_NAME with folder $BOARD_DIR and bundle name $BUNDLE_NAME"
|
echo "Entering $SCRIPT_NAME with folder $BOARD_DIR and bundle name $BUNDLE_NAME"
|
||||||
|
|
||||||
[ -n $BOARD_DIR ] || { echo "BOARD_DIR parameter expected"; exit 1; }
|
[ -n $BOARD_DIR ] || { echo "BOARD_DIR parameter expected"; exit 1; }
|
||||||
|
|
||||||
[ -n $BUNDLE_NAME ] || { echo "BUNDLE_NAME parameter expected"; exit 1; }
|
[ -n $BUNDLE_NAME ] || { echo "BUNDLE_NAME parameter expected"; exit 1; }
|
||||||
|
|
||||||
COMPILE_SCRIPT="compile_$BUNDLE_NAME.sh"
|
COMPILE_SCRIPT="compile_$BUNDLE_NAME.sh"
|
||||||
|
@ -24,8 +23,6 @@ rm -rf build
|
||||||
rm -rf pch/pch.h.gch.sh
|
rm -rf pch/pch.h.gch.sh
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
root_dir=$(pwd)
|
|
||||||
|
|
||||||
cd firmware/$BOARD_DIR
|
cd firmware/$BOARD_DIR
|
||||||
pwd
|
pwd
|
||||||
echo "Invoking $COMPILE_SCRIPT"
|
echo "Invoking $COMPILE_SCRIPT"
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
@echo off
|
|
||||||
sh.exe prepare_bundle.sh
|
|
Loading…
Reference in New Issue