mirror of
https://github.com/ayabusa/Numworks-zeta-os.git
synced 2025-06-13 09:54:09 +00:00
updated workflow
This commit is contained in:
2
.github/workflows/makefile.yml
vendored
2
.github/workflows/makefile.yml
vendored
@ -24,4 +24,4 @@ jobs:
|
||||
|
||||
- name: build
|
||||
working-directory: ./numworks_port
|
||||
run: make
|
||||
run: make RUN_IN_GITHUB_ACTION=TRUE
|
||||
|
@ -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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user