自动构建C项目

发布于 2024-07-07 03:20:18 字数 160 浏览 6 评论 0原文

我正在与其他人一起开发一个自由软件(bsd 许可证)项目。 我们正在寻找一个系统来检查我们的源代码(svn)并构建它来测试它(使用 Check/其他工具进行单元测试)。

它应该有一个基于网络的界面并生成报告。

我希望我们不必自己从零开始编写这样的系统......

I'm working on a free software (bsd license) project with others. We're searching for a system that check out our source code (svn) and build it also as test it (unit tests with Check / other tools).

It should have a webbased interface and generate reports.

I hope we don't have to write such a system from null by ourselves...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

城歌 2024-07-14 03:20:18

您当然不必自己编写代码 - 有很多持续集成系统能够从 SVN 等系统中查看源代码,并且它们通常很容易通过您自己的任务进行扩展,因此运行自定义测试脚本/程序应该不成问题。

虽然这些 CI 系统可能不是用 C 编写的,但这并不重要,因为它们只需要能够访问和编译您的源代码,无论如何它们都会使用外部编译器。

仅列出一些众所周知的 CI 工具:

您也可以对Stack Overflow 上标记为持续集成的其他问题感兴趣。 :)

You surely do not have to code this yourself - there are a lot of continuous integration systems which are able to check out source code from systems such as SVN and they are generally easy to extend with your own tasks, so running custom test scripts/programs should not be a problem.

While these CI systems are probably not written in C, this does not matter, since they just need to be able to access and compile your source code, for which they will use an external compiler anyways.

Just to list some of the well known CI tools:

You might also be interested in other questions on Stack Overflow tagged as continuous-integration. :)

亚希 2024-07-14 03:20:18

我不认为有一个构建系统能够完成所有这些任务 - 但是将它们组合起来怎么样?

SCons 是一个很好的构建系统,可以在每台具有 Python。 它甚至可以直接从 SVN 构建。 对于自动构建,您可以尝试 Buildbot

I don't think that there's a buildsystem that is capable of doing all this tasks - but what about combining them?

SCons is a nice buildsystem that runs on every machine that has Python. It can even build directly from SVN. For automatic building you can try Buildbot.

櫻之舞 2024-07-14 03:20:18

查看 buildbot

Check out buildbot

陌伤ぢ 2024-07-14 03:20:18

我的投票是 CruiseControl.NET,它拥有您想要的一切。 它是开源的,所以成本很低,并且它在谷歌群组上有一个非常活跃的用户社区,可以在您习惯它时帮助您解决问题。 此外,虽然基于 .NET,但使用 MONO 在 Linux 和 Mac 构建服务器上也非常好,因此您可以覆盖所有内容。

My vote would be CruiseControl.NET, it has everything you are asking for. It is open source so the costs are low, and it has a very active user community on google groups to help you with your problems as you grow accustomed to it. Also, although .NET based, using MONO it is very nice on Linux and Mac build servers as well so you have everything covered.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文