Skip to content

Commit

Permalink
ci: update github workflow for n100
Browse files Browse the repository at this point in the history
Signed-off-by: Huaqi Fang <[email protected]>
  • Loading branch information
fanghuaqi committed Jan 2, 2024
1 parent 7b551e9 commit 3d17d20
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/build_sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04]
soc: [evalsoc, gd32vf103]
soc: [evalsoc]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -98,23 +98,13 @@ jobs:
echo "Setup build environment"
source setup.sh
export APPCFG=tools/scripts/nsdk_cli/configs/application.json
for hwcfg in "nuclei_fpga_eval_ci_qemu_small_gnu" "nuclei_fpga_eval_ci_qemu_small_llvm" ; do
for hwcfg in "nuclei_fpga_eval_ci" ; do
export HWCFG=tools/scripts/nsdk_cli/configs/${hwcfg}.json
export LOGDIR=logs/${hwcfg}
echo "Build and run for ${hwcfg}"
python3 tools/scripts/nsdk_cli/nsdk_bench.py --appcfg $APPCFG --hwcfg $HWCFG --parallel="-j" --logdir $LOGDIR --run_target qemu --run
python3 tools/scripts/nsdk_cli/nsdk_bench.py --appcfg $APPCFG --hwcfg $HWCFG --parallel="-j" --logdir $LOGDIR
done
- name: Build SDK for GD32VF103 SoC
if: matrix.soc == 'gd32vf103'
run: |
echo "Setup build environment"
source setup.sh
export APPCFG=tools/scripts/nsdk_cli/configs/application.json
export HWCFG=tools/scripts/nsdk_cli/configs/gd32vf103v_rvstar.json
export LOGDIR=logs/gd32vf103v_rvstar
python3 tools/scripts/nsdk_cli/nsdk_bench.py --appcfg $APPCFG --hwcfg $HWCFG --parallel="-j" --logdir $LOGDIR
- name: Upload Build Log for ${{ matrix.soc }}
uses: actions/upload-artifact@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy_doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ jobs:
FTPPWD: ${{ secrets.FTPPWD }}
FTPSERVER: ${{ secrets.FTPSERVER }}
run: |
bash .ci/ftp_deploy.sh $FTPUSER $FTPPWD $FTPSERVER doc/build/html nuclei_sdk
bash .ci/ftp_deploy.sh $FTPUSER $FTPPWD $FTPSERVER doc/build/html n100_sdk
- name: Upload Documentation
uses: actions/upload-artifact@v3
with:
# Artifact name
name: nuclei_sdk_doc
name: n100_sdk_doc
# A file, directory or wildcard pattern that describes what to upload
path: doc/build/html

0 comments on commit 3d17d20

Please sign in to comment.