我想将 gitLab-CI 用于 Qt 项目,但我不知道我需要这样做。我明白,整个管道过程发生在 CI-Server 上,但我如何设置所需的要求,如 qt-environment?
解决方案:
好的,现在我明白了!您只需使用 Runner,如果您没有 Server,您可以使用 VM。
最佳答案
对于 GitLab.com
image: <image-name>
为 .gitlab-ci.yml
apt
或其他一些包管理器(不推荐).gitlab-ci.yml
中设置了 Qt SDK 环境,确保添加一个命令来构建/编译/运行/测试它。 对于非 GitLab.com
image: <image-name>
为 .gitlab-ci.yml
apt
或其他一些包管理器(不推荐).gitlab-ci.yml
中设置了 Qt SDK 环境,确保添加一个命令来构建/编译/运行/测试它。 其他有用的评论
这是来自 Josh Peak 的评论:
Ok that answers my question. I'm going to have to preconfigure a VM image and/or a Docker image with the QT SDK that the rest of my dev team can leverage. Thanks for the quick response.
这个答案来自 ManuelP. 的问题:
Ok now I got it! You just use the Runner for it, if you do not have a Server, you can use a VM.
关于qt - 将 gitLab-CI 用于 Qt 项目,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39065342/