代码拉取完成,页面将自动刷新
同步操作将从 Nuclei-Software/nuclei-sdk 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
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_gd32vf103v_eval
- build_gd32vf103v_rvstar
## Job for build document
build_doc:
stage: doc_build
only:
changes:
- doc/source/**/**/**/*
retry: 1
artifacts:
name: "nuclei_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
- cp build/latex/*.pdf build/html/
tags:
- software-server
## Job for deploy document to internal server
deploy_doc:
stage: doc_deploy
when: on_success
retry: 1
only:
refs:
- master
changes:
- doc/source/**/**/**/*
script:
- ssh xl01 "rm -rf /home/xl_ci/doc_center/nuclei_sdk/*"
- ssh xl01 "mkdir -p /home/xl_ci/doc_center/nuclei_sdk/"
- cd doc/build
- scp -r html xl01:/home/xl_ci/doc_center/nuclei_sdk
tags:
- software-server
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 nuclei_sdk
tags:
- software-server
dependencies:
- build_doc
## Jobs for board hbird_eval
.build_hbird_eval_job_template: &build_hbird_eval_job_def
stage: build_hbird_eval
script:
- SOC=hbird BOARD=hbird_eval nsdk_build_directory application
- SOC=hbird BOARD=hbird_eval nsdk_build_directory test
# Build For HBird Evaluation Board with N307 Core, with Flash, FlashXIP, ILM Mode
build_hbird_eval_ilm_n307:
variables:
DOWNLOAD: "ilm"
CORE: "n307"
<<: *build_hbird_eval_job_def
build_hbird_eval_flash_n307:
variables:
DOWNLOAD: "flash"
CORE: "n307"
<<: *build_hbird_eval_job_def
build_hbird_eval_flashxip_n307:
variables:
DOWNLOAD: "flashxip"
CORE: "n307"
<<: *build_hbird_eval_job_def
# Build For N205E, with Flash, FlashXIP, ILM Mode
build_hbird_eval_ilm_n205e:
variables:
DOWNLOAD: "ilm"
CORE: "n205e"
FIND_IGNORE: "! -wholename \"*dsp*\""
<<: *build_hbird_eval_job_def
build_hbird_eval_flash_n205e:
variables:
DOWNLOAD: "flash"
CORE: "n205e"
FIND_IGNORE: "! -wholename \"*dsp*\""
<<: *build_hbird_eval_job_def
build_hbird_eval_flashxip_n205e:
variables:
DOWNLOAD: "flashxip"
CORE: "n205e"
FIND_IGNORE: "! -wholename \"*dsp*\""
<<: *build_hbird_eval_job_def
# Build For NX600, with Flash, FlashXIP, ILM Mode
build_hbird_eval_ilm_nx600:
variables:
DOWNLOAD: "ilm"
CORE: "nx600"
FIND_IGNORE: "! -wholename \"*dsp*\""
<<: *build_hbird_eval_job_def
build_hbird_eval_flash_nx600:
variables:
DOWNLOAD: "flash"
CORE: "nx600"
FIND_IGNORE: "! -wholename \"*dsp*\""
<<: *build_hbird_eval_job_def
build_hbird_eval_flashxip_nx600:
variables:
DOWNLOAD: "flashxip"
CORE: "nx600"
FIND_IGNORE: "! -wholename \"*dsp*\""
<<: *build_hbird_eval_job_def
## Jobs for board gd32vf103v_eval
.build_gd32vf103v_eval_job_template: &build_gd32vf103v_eval_job_def
stage: build_gd32vf103v_eval
script:
- SOC=gd32vf103 BOARD=gd32vf103v_eval nsdk_build_directory application
- SOC=gd32vf103 BOARD=gd32vf103v_eval nsdk_build_directory test
build_gd32vf103v_eval_flashxip:
variables:
DOWNLOAD: "flashxip"
CORE: "n205"
<<: *build_gd32vf103v_eval_job_def
## Jobs for board gd32vf103v_rvstar only flashxip mode
.build_gd32vf103v_rvstar_job_template: &build_gd32vf103v_rvstar_job_def
stage: build_gd32vf103v_rvstar
script:
- SOC=gd32vf103 BOARD=gd32vf103v_rvstar nsdk_build_directory application
- SOC=gd32vf103 BOARD=gd32vf103v_rvstar nsdk_build_directory test
build_gd32vf103v_rvstar_flashxip:
variables:
DOWNLOAD: "flashxip"
CORE: "n205"
<<: *build_gd32vf103v_rvstar_job_def
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。