only:dead & fixing set-date job
This commit is contained in:
parent
10ff147752
commit
a8f465606e
|
@ -35,11 +35,6 @@ jobs:
|
|||
sudo bash misc/actions/add-ubuntu-latest-apt-mirrors.sh
|
||||
sudo apt-get install subversion
|
||||
|
||||
- name: Update version header in git
|
||||
if: ${{ env.skip != 'true' }}
|
||||
working-directory: ./firmware/
|
||||
run: bash update_version.sh
|
||||
|
||||
- name: Write Date File
|
||||
if: ${{ env.skip != 'true' }}
|
||||
run: |
|
||||
|
|
|
@ -1,33 +0,0 @@
|
|||
@echo off
|
||||
|
||||
rm -rf build\rusefi.hex
|
||||
rm -rf build\rusefi.bin
|
||||
|
||||
|
||||
git submodule update --init
|
||||
rem PS:
|
||||
rem git submodule update --recursive --remote
|
||||
rem magic once needed
|
||||
|
||||
call update_version.bat
|
||||
|
||||
rem WHY??? do we have to sometimes create this folder manually?! is this about '-r' flag with make?
|
||||
mkdir .dep
|
||||
|
||||
|
||||
echo Starting compilation
|
||||
rem the important piece (pass external args if needed)
|
||||
|
||||
make %1 %2 %3
|
||||
|
||||
rem cd build
|
||||
rem if not exist rusefi.hex echo "compilation failed"
|
||||
rem if not exist rusefi.hex exit -1
|
||||
rem cd ..
|
||||
if errorlevel 1 echo make compilation failed
|
||||
if errorlevel 1 exit -1
|
||||
|
||||
echo Build complete success.
|
||||
|
||||
|
||||
call generate_memory_usage_report.bat
|
|
@ -1,2 +0,0 @@
|
|||
@echo off
|
||||
bash.exe update_version.sh
|
|
@ -1,12 +0,0 @@
|
|||
#!/bin/bash
|
||||
# Let's regenerate 'svnversion.h'
|
||||
# TODO: handle std err - for example, in case svn needs upgrade
|
||||
|
||||
#
|
||||
# 2022: is it time to rename svn_version.h into something else?
|
||||
# we should probably remove VCS_VERSION and keep only GIT_HASH
|
||||
#
|
||||
|
||||
GIT_HASH=$(git rev-parse HEAD)
|
||||
echo "Git hash=$GIT_HASH"
|
||||
java -jar ../java_tools/version2header.jar 10000 https://github.com/rusefi/rusefi $GIT_HASH
|
Loading…
Reference in New Issue