Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
慢慢CG
Mace
提交
f36b8dce
Mace
项目概览
慢慢CG
/
Mace
与 Fork 源项目一致
Fork自
Xiaomi / Mace
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Mace
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
f36b8dce
编写于
10月 28, 2020
作者:
Z
Zhang Zhimin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: Use a standalone gitlab ci runner for Micro
上级
76f29748
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
19 addition
and
8 deletion
+19
-8
docker/mace-micro-dev/mace-micro-dev.dockerfile
docker/mace-micro-dev/mace-micro-dev.dockerfile
+11
-5
micro/.gitlab-ci.yml
micro/.gitlab-ci.yml
+6
-2
micro/examples/classifier/.mbed
micro/examples/classifier/.mbed
+1
-0
micro/tools/ci/model_convert.sh
micro/tools/ci/model_convert.sh
+1
-1
未找到文件。
docker/mace-micro-dev/mace-micro-dev.dockerfile
浏览文件 @
f36b8dce
FROM
ubuntu:18.04
RUN
apt-get update
RUN
apt-get update
--fix-missing
RUN
apt-get
install
-y
wget
RUN
apt-get
install
-y
g++ gcc
RUN
wget https://github.com/Kitware/CMake/releases/download/v3.18.4/cmake-3.18.4-Linux-x86_64.sh
&&
chmod
+x cmake-3.18.4-Linux-x86_64.sh
&&
./cmake-3.18.4-Linux-x86_64.sh
--skip-license
--prefix
=
/usr
RUN
apt-get
install
-y
g++-5 gcc-5
RUN
apt-get
install
-y
gcc-arm-none-eabi
RUN
apt-get
install
-y
python3 python3-pip git mercurial
RUN
apt-get
install
-y
git mercurial
RUN
apt-get
install
-y
python python-pip
RUN
apt-get
install
-y
python3 python3-pip
RUN
wget https://cdn.cnbj1.fds.api.mi-img.com/mace/third-party/cmake-3.18.3-Linux-x86_64.sh
RUN
chmod
+x cmake-3.18.3-Linux-x86_64.sh
&&
./cmake-3.18.3-Linux-x86_64.sh
--skip-license
--prefix
=
/usr
RUN
python
-m
pip
install
-U
pip
RUN
python
-m
pip
install
jinja2 pyyaml sh numpy six filelock
RUN
python
-m
pip
install
tensorflow
==
1.8.0
RUN
python3
-m
pip
install
-U
pip
RUN
python3
-m
pip
install
jinja2 pyyaml sh numpy six filelock
...
...
micro/.gitlab-ci.yml
浏览文件 @
f36b8dce
default
:
tags
:
-
mace-micro
image
:
mace-micro-dev
before_script
:
-
git submodule deinit -f .
-
git submodule sync
...
...
@@ -23,6 +28,5 @@ cross-build:
-
bash micro/tools/ci/cross_build.sh
-
bash micro/tools/ci/host_build_and_run_examples.sh
-
bash micro/tools/ci/host_build_and_run_tests.sh
# The mbed-cli protobuf version conflicts with others
# - bash micro/tools/ci/build_mbed_example.sh
-
bash micro/tools/ci/build_mbed_example.sh
micro/examples/classifier/.mbed
浏览文件 @
f36b8dce
TARGET=NUCLEO_F767ZI
ROOT=.
TOOLCHAIN=GCC_ARM
micro/tools/ci/model_convert.sh
浏览文件 @
f36b8dce
...
...
@@ -3,7 +3,7 @@
rm
-rf
mace-models
rm
-rf
build/micro
GIT_SSH_COMMAND
=
"ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
git clone git@git.n.xiaomi.com:applied-machine-learning/sysml/mace-models.git
GIT_SSH_COMMAND
=
"ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
git clone git@git.n.xiaomi.com:applied-machine-learning/sysml/mace-models.git
||
exit
-1
git submodule update
--init
.
||
exit
-1
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录