include rusefi_config.mk for unit tests
This commit is contained in:
parent
2d9f7450d7
commit
c4367b8b4d
|
@ -32,9 +32,9 @@ jobs:
|
|||
sudo bash misc/actions/add-ubuntu-latest-apt-mirrors.sh
|
||||
sudo apt-get install sshpass mtools
|
||||
|
||||
- name: Generate Configs, Enums & Live Documentation
|
||||
- name: Generate Enums & Live Documentation
|
||||
working-directory: ./firmware/
|
||||
run: ./gen_default_everything.sh
|
||||
run: ./gen_live_documentation.sh
|
||||
|
||||
- name: Print GCC version
|
||||
working-directory: .
|
||||
|
|
|
@ -44,9 +44,9 @@ jobs:
|
|||
- name: Test Java Compiler
|
||||
run: javac -version
|
||||
|
||||
- name: Generate Configs, Enums & Live Documentation
|
||||
- name: Generate Enums & Live Documentation
|
||||
working-directory: ./firmware/
|
||||
run: bash gen_default_everything.sh
|
||||
run: bash gen_live_documentation.sh
|
||||
|
||||
- name: Print Compiler version
|
||||
# NOTE: on mac, this is actually symlink'd to clang, not gcc, but that's ok - we want to build on both
|
||||
|
|
|
@ -244,5 +244,22 @@ $(info Invoked "git submodule update --init")
|
|||
$(error Please run 'make' again. Please make sure you have 'git' command in PATH)
|
||||
endif
|
||||
|
||||
ifeq ($(PROJECT_BOARD),)
|
||||
ifneq ($(SHORT_BOARD_NAME),)
|
||||
PROJECT_BOARD = $(SHORT_BOARD_NAME)
|
||||
else
|
||||
PROJECT_BOARD = f407-discovery
|
||||
endif
|
||||
endif
|
||||
|
||||
BOARDS_DIR = $(PROJECT_DIR)/config/boards
|
||||
|
||||
# allow passing a custom board dir, otherwise generate it based on the board name
|
||||
ifeq ($(BOARD_DIR),)
|
||||
BOARD_DIR = $(BOARDS_DIR)/$(PROJECT_BOARD)
|
||||
-include $(BOARD_DIR)/meta-info.env
|
||||
endif
|
||||
|
||||
include $(UNIT_TESTS_DIR)/rules.mk
|
||||
include $(PROJECT_DIR)/rusefi_config.mk
|
||||
include $(PROJECT_DIR)/rusefi_pch.mk
|
||||
|
|
Loading…
Reference in New Issue