mirror of
https://github.com/ayabusa/Numworks-zeta-os.git
synced 2024-11-21 18:53:24 +00:00
updated workflow
This commit is contained in:
parent
8041627ca3
commit
c26afbadae
2
.github/workflows/makefile.yml
vendored
2
.github/workflows/makefile.yml
vendored
@ -24,4 +24,4 @@ jobs:
|
|||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
working-directory: ./numworks_port
|
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
|
MCU_SPEC = cortex-m7
|
||||||
|
|
||||||
# Toolchain definitions (ARM bare metal defaults)
|
# Toolchain definitions (ARM bare metal defaults)
|
||||||
ifeq ($(RUN_IN_GITHUB_ACTION),"TRUE")
|
ifndef RUN_IN_GITHUB_ACTION
|
||||||
TOOLCHAIN = $(ARM_NONE_EABI_GCC_PATH)
|
TOOLCHAIN = /usr/bin# if make is run normally
|
||||||
else
|
else
|
||||||
TOOLCHAIN = /usr/bin
|
TOOLCHAIN = $(ARM_NONE_EABI_GCC_PATH) # if run inside of a github action
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CP = $(TOOLCHAIN)/arm-none-eabi-g++
|
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.
Loading…
Reference in New Issue
Block a user