代码拉取完成,页面将自动刷新
同步操作将从 RISCV-MCU/hbird-sdk 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
variables:
DOC_SERVER: doc
DOC_CENTER: /home/xl_ci/doc_center
before_script:
- module load nucleisys/riscv-nuclei-elf-gcc
- module load nucleisys/openocd
- source .ci/build_sdk.sh
- source .ci/build_applications.sh
stages:
- doc_build
- doc_deploy
- build_hbird_eval
- build_ddr200t
## Job for build document
build_doc:
stage: doc_build
only:
changes:
- doc/source/**/**/**/*
- .gitlab-ci.yml
retry: 1
artifacts:
name: "hbird_sdk_doc-${CI_COMMIT_SHA::8}"
paths:
- doc/build
expire_in: 2 day
script:
- cd doc
- pip3 install --user -r requirements.txt
- export PATH=$HOME/.local/bin:$PATH
- make clean
- make all
- make latexpdf
- make clean_xml
- cp build/latex/*.pdf build/html/
tags:
- env::native
- host::xls01
## Job for deploy document to internal server
deploy_doc:
stage: doc_deploy
when: on_success
retry: 1
only:
refs:
- master
changes:
- doc/source/**/**/**/*
- .gitlab-ci.yml
script:
- ssh $DOC_SERVER "rm -rf $DOC_CENTER/hbird_sdk/*"
- ssh $DOC_SERVER "mkdir -p $DOC_CENTER/hbird_sdk/"
- cd doc/build
- scp -r html $DOC_SERVER:$DOC_CENTER/hbird_sdk
tags:
- env::native
- host::xls01
dependencies:
- build_doc
## Job for deploy document to nuclei website
deploy_website:
stage: doc_deploy
when: on_success
retry: 1
only:
refs:
- master
changes:
- doc/source/**/**/**/*
script:
- ./.ci/ftp_deploy.sh $FTPUSER $FTPPWD $FTPSERVER doc/build/html hbird_sdk
tags:
- env::native
- host::xls01
dependencies:
- build_doc
## Jobs for board hbird_eval
.build_hbird_eval_job_template: &build_hbird_eval_job_def
stage: build_hbird_eval
tags:
- env::native
- host::xls01
script:
- SOC=hbird BOARD=hbird_eval hsdk_build_directory application
- SOC=hbird BOARD=hbird_eval hsdk_build_directory test
# Build For HBird Evaluation Board with E203 Core, with Flash, FlashXIP, ILM Mode
build_hbird_eval_ilm_e203:
variables:
DOWNLOAD: "ilm"
SOC: "hbird"
CORE: "e203"
<<: *build_hbird_eval_job_def
build_hbird_eval_flash_e203:
variables:
DOWNLOAD: "flash"
CORE: "e203"
<<: *build_hbird_eval_job_def
build_hbird_eval_flashxip_e203:
variables:
DOWNLOAD: "flashxip"
CORE: "e203"
<<: *build_hbird_eval_job_def
# Build For E203E, with Flash, FlashXIP, ILM Mode
build_hbird_eval_ilm_e203e:
variables:
DOWNLOAD: "ilm"
CORE: "e203e"
FIND_IGNORE: "! -wholename \"*dsp*\""
<<: *build_hbird_eval_job_def
build_hbird_eval_flash_e203e:
variables:
DOWNLOAD: "flash"
CORE: "e203e"
FIND_IGNORE: "! -wholename \"*dsp*\""
<<: *build_hbird_eval_job_def
build_hbird_eval_flashxip_e203e:
variables:
DOWNLOAD: "flashxip"
CORE: "e203e"
FIND_IGNORE: "! -wholename \"*dsp*\""
<<: *build_hbird_eval_job_def
## Jobs for board ddr200t
.build_ddr200t_job_template: &build_ddr200t_job_def
stage: build_ddr200t
tags:
- env::native
- host::xls01
script:
- SOC=hbirdv2 BOARD=ddr200t hsdk_build_directory application
- SOC=hbirdv2 BOARD=ddr200t hsdk_build_directory test
# Build For HBird Evaluation Board with E203 Core, with Flash, FlashXIP, ILM Mode
build_ddr200t_ilm_e203:
variables:
DOWNLOAD: "ilm"
CORE: "e203"
<<: *build_ddr200t_job_def
build_ddr200t_flash_e203:
variables:
DOWNLOAD: "flash"
CORE: "e203"
<<: *build_ddr200t_job_def
build_ddr200t_flashxip_e203:
variables:
DOWNLOAD: "flashxip"
CORE: "e203"
<<: *build_ddr200t_job_def
# Build For E203E, with Flash, FlashXIP, ILM Mode
build_ddr200t_ilm_e203e:
variables:
DOWNLOAD: "ilm"
CORE: "e203e"
FIND_IGNORE: "! -wholename \"*dsp*\""
<<: *build_ddr200t_job_def
build_ddr200t_flash_e203e:
variables:
DOWNLOAD: "flash"
CORE: "e203e"
FIND_IGNORE: "! -wholename \"*dsp*\""
<<: *build_ddr200t_job_def
build_ddr200t_flashxip_e203e:
variables:
DOWNLOAD: "flashxip"
CORE: "e203e"
FIND_IGNORE: "! -wholename \"*dsp*\""
<<: *build_ddr200t_job_def
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。