Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI集成优化 #4

Open
FrizzleFur opened this issue Dec 16, 2017 · 0 comments
Open

CI集成优化 #4

FrizzleFur opened this issue Dec 16, 2017 · 0 comments
Labels

Comments

@FrizzleFur
Copy link
Owner

FrizzleFur commented Dec 16, 2017

项目集成

  1. iOS利用Jenkins实现自动化打包(SVN版) - 简书
  2. Ccache 让你的编译时间飞起来 - 简书
  3. BLStopwatch代码耗时打点计时器
  4. 一次立竿见影的启动时间优化 - 简书

Jenkins

Jenkins是个比较方便持续集成的工具,简单记录一下利用Jenkin拉取SVN的iOS代码,并且打包上传到蒲公英(fir.im类似)的过程。安卓只需要安装对应的插件就可以。可以实现定时打包发布任务,方便自动化管理。考虑到现在代码基本往Git上迁移,在第八步给出快捷迁移SVN代码到Git的方法。

Ccache

Ccache 是一个编译缓存器,它会在实际编译之前先检查缓存。它有直接和预处理模式,而且由于在 Clang 3.2 版本之前是不支持 ccache 插件,所以在 Clang 3.2 之前会有一些问题,但是现在 Clang 的版本是 3.2.3,所以没有 Clang 不支持的问题。ccache 是一个具有悠久历史的项目,其主要焦点是快速正确。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant