Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
92d5c3a7
Commit
92d5c3a7
authored
Sep 09, 2025
by
limm
Browse files
Merge branch 'fix_v0.19.1-fastpt' into 'v0.19.1-fastpt'
add jenkins.sh See merge request
!1
parents
b6e8af14
e3b3613f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
jenkins.sh
jenkins.sh
+31
-0
No files found.
jenkins.sh
0 → 100755
View file @
92d5c3a7
#!/bin/bash
set
-e
source
/opt/dtk/env.sh
export
FORCE_CUDA
=
1
source
/usr/local/bin/fastpt
-C
echo
"开始编译组件vision"
python3 setup.py
-v
bdist_wheel
echo
"组件vision编译完成"
ls
dist/
pip
install
dist/
*
.whl
pip
install
dist/
*
.whl
--force-reinstall
--no-deps
echo
"组件vision安装完成"
echo
"开始vision单元测试"
if
command
-v
pytest &> /dev/null
;
then
echo
"pytest 已安装,版本:
$(
pytest
--version
)
"
# 跳过安装
else
echo
"pytest 未安装,正在安装..."
# 使用 pip 安装 (最常见)
pip
install
pytest
fi
pytest
-vs
./test
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment