updated workflow

This commit is contained in:
ayabusa 2024-04-02 18:42:55 +02:00
parent 8041627ca3
commit c26afbadae
13 changed files with 4 additions and 4 deletions

View File

@ -24,4 +24,4 @@ jobs:
- name: build
working-directory: ./numworks_port
run: make
run: make RUN_IN_GITHUB_ACTION=TRUE

View File

@ -9,10 +9,10 @@ LD_SCRIPT = $(SRC_DIR)/linker.ld
MCU_SPEC = cortex-m7
# Toolchain definitions (ARM bare metal defaults)
ifeq ($(RUN_IN_GITHUB_ACTION),"TRUE")
TOOLCHAIN = $(ARM_NONE_EABI_GCC_PATH)
ifndef RUN_IN_GITHUB_ACTION
TOOLCHAIN = /usr/bin# if make is run normally
else
TOOLCHAIN = /usr/bin
TOOLCHAIN = $(ARM_NONE_EABI_GCC_PATH) # if run inside of a github action
endif
CP = $(TOOLCHAIN)/arm-none-eabi-g++

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.