targets for ci
This commit is contained in:
parent
77102723f8
commit
f37cceafb8
@ -1,13 +1,13 @@
|
|||||||
|
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
PRODUCT_NAME: "AG"
|
# PRODUCT_NAME: "AG"
|
||||||
# PRODUCT_VARIANT: "NA"
|
# PRODUCT_VARIANT: "NA"
|
||||||
PRODUCT_VARIANT: "EU"
|
# PRODUCT_VARIANT: "EU"
|
||||||
# PRODUCT_VARIANT: "CN"
|
# PRODUCT_VARIANT: "CN"
|
||||||
PROJECT_VERSION: "10"
|
# PROJECT_VERSION: "10"
|
||||||
SW_MAJOR: "1"
|
# SW_MAJOR: "1"
|
||||||
SW_MINOR: "3"
|
# SW_MINOR: "3"
|
||||||
|
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
@ -15,26 +15,26 @@ before_script:
|
|||||||
- "echo $CI_BUILD_REF_NAME"
|
- "echo $CI_BUILD_REF_NAME"
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
|
- check
|
||||||
- build
|
- build
|
||||||
# - check
|
|
||||||
# - test
|
# - test
|
||||||
# - deploy
|
# - deploy
|
||||||
|
|
||||||
build_job:
|
build_job:
|
||||||
script:
|
script:
|
||||||
- "cd source"
|
- "cd source"
|
||||||
- "make APP=test BOARD=stm32f4-discovery"
|
- "make build APP=test BOARD=stm32f4-discovery"
|
||||||
- "make APP=example_semaphore BOARD=stm32f4-discovery"
|
- "make build APP=example_semaphore BOARD=stm32f4-discovery"
|
||||||
stage: build
|
stage: build
|
||||||
except:
|
except:
|
||||||
- /^release/.*$/
|
- /^release/.*$/
|
||||||
|
|
||||||
#check_job:
|
check_job:
|
||||||
# script:
|
script:
|
||||||
# - "cd top_agricola/core"
|
- "cd source"
|
||||||
# - "./generate_cpp_ci_makefile.py"
|
- "make check APP=test BOARD=stm32f4-discovery"
|
||||||
# - "make -f Makefile_ci.cck all"
|
- "make check APP=example_semaphore BOARD=stm32f4-discovery"
|
||||||
# stage: check
|
stage: check
|
||||||
|
|
||||||
#test_job:
|
#test_job:
|
||||||
# script: "echo test stage"
|
# script: "echo test stage"
|
||||||
|
@ -30,6 +30,8 @@ ASMSOURCES += $(foreach folder, $(SUB_FOLDER), $(wildcard $(SRC_DIR)/$(folder)/*
|
|||||||
|
|
||||||
all: check $(MAINFILE)
|
all: check $(MAINFILE)
|
||||||
|
|
||||||
|
build: $(MAINFILE)
|
||||||
|
|
||||||
check:
|
check:
|
||||||
$(CPPCHECK) $(CPPCHECK_FLAGS) $(CHECKSOURCES)
|
$(CPPCHECK) $(CPPCHECK_FLAGS) $(CHECKSOURCES)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user