I have my own gitlab instance running on a server in my local network.
My build machine is a pc running windows 10, it just compiles and runs test...
My gitlab Ci configuration file is not just a one liner. So I don’t think it make seen to post it here. But basically it is nearly the same then the other Ci’s Like Travis...
Define stages (steps). In the stages you can define steps in before scrip, script (main step), after script...
That’s all... then you have the possibility to save artifacts which can be used in later stages.
See https://docs.gitlab.com/ee/ci/quick_start/
Future of Travis CI...
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Future of Travis CI...
Thanks for the info!
Re: Future of Travis CI...
Your welcome. Maybe we could check out if gitlab.com
Is providing a Ci runner for windows/linux in the internet...
Is providing a Ci runner for windows/linux in the internet...
-
- Posts: 656
- Joined: Tue May 19, 2015 1:11 am
Re: Future of Travis CI...
If you’d like to see a working sample, you can take a look at my OccWrapper project on gitlab. It is a very basic, very incomplete c++ wrapper around opencascade.
here is the ci config. It is pretty straightforward and the gitlab documentation is very good.
I don’t mind answering questions you may have, though I’m far from an expert.
here is the ci config. It is pretty straightforward and the gitlab documentation is very good.
I don’t mind answering questions you may have, though I’m far from an expert.
Re: Future of Travis CI...
I did some tests as well, but I'm having problem figuring our what's the system Seems to be some debian/ubuntu (apt-get). My (failing) config for building CalculiX [1]
[1] https://gitlab.com/PrzemoF/calculix-bui ... lab-ci.yml
[1] https://gitlab.com/PrzemoF/calculix-bui ... lab-ci.yml
-
- Posts: 656
- Joined: Tue May 19, 2015 1:11 am
Re: Future of Travis CI...
@PrzemoF, the CI system on Gitlab uses Docker containers, much the same as travis-ci does (I believe).
You can see here on my config that the first line specifies an "image" variable, which uses my own custom Docker image.
You can get more info here on the gitlab documentation