more script cleanup

This commit is contained in:
Matthew Kennedy 2024-03-01 11:30:46 -08:00
parent 02783b63cb
commit 048d36745d
4 changed files with 2 additions and 20 deletions

View File

@ -311,8 +311,9 @@ jobs:
# Build the simulator
- name: Build simulator
if: ${{ env.full == 'true' }}
working-directory: ./simulator/
# '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)
uses: actions/download-artifact@v3

View File

@ -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; }

View File

@ -13,7 +13,6 @@ SCRIPT_NAME=compile_and_upload.sh
echo "Entering $SCRIPT_NAME with folder $BOARD_DIR and bundle name $BUNDLE_NAME"
[ -n $BOARD_DIR ] || { echo "BOARD_DIR parameter expected"; exit 1; }
[ -n $BUNDLE_NAME ] || { echo "BUNDLE_NAME parameter expected"; exit 1; }
COMPILE_SCRIPT="compile_$BUNDLE_NAME.sh"
@ -24,8 +23,6 @@ rm -rf build
rm -rf pch/pch.h.gch.sh
cd ..
root_dir=$(pwd)
cd firmware/$BOARD_DIR
pwd
echo "Invoking $COMPILE_SCRIPT"

View File

@ -1,2 +0,0 @@
@echo off
sh.exe prepare_bundle.sh