Changes at TravisCI- affecting open source

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
PrzemoF
Veteran
Posts: 3520
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: Changes at TravisCI- affecting open source

Post by PrzemoF »

OK, it's there. I guess the core devs were too busy.
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Changes at TravisCI- affecting open source

Post by yorik »

Guys, this is AMAZING!

We have all our functionality back. Well done!!

How much of it does actually use gitlab resources? I mean, if in some future they make it paid, what would we do?

Also: Is it possible to add more build servers to the system? What does it need? I could try to find some more horsepower for us.

Also 2: Could we produce daily builds with this?
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Changes at TravisCI- affecting open source

Post by bernd »

sarted to put all scripts I use in a separate repository: https://github.com/FreeCAD/FreeCAD-CI
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Changes at TravisCI- affecting open source

Post by bernd »

yorik wrote: Tue Sep 28, 2021 9:41 am How much of it does actually use gitlab resources? I mean, if in some future they make it paid, what would we do?
Only the normal gitlab. None processing resources are used. All is done on a quad core i5 at my home. ATM we are fine with this machine. (due to ccache) But if it would envolve we need to think about more power.

BTW adding more runners is easy on gitlab

yorik wrote: Tue Sep 28, 2021 9:41 am Also: Is it possible to add more build servers to the system? What does it need? I could try to find some more horsepower for us.
Should be possible. But this work has all done by Przemo. He might know if or how it is possible to add for example a windows CI. Since the os is a docker container I do not know if this is possible with windows too. As said at the moment horsepower is not the problem but man power with knowledge.

yorik wrote: Tue Sep 28, 2021 9:41 am Also 2: Could we produce daily builds with this?
The linux artefacts can be downloaded already. See https://gitlab.com/berndhahnebach/FreeCAD/-/pipelines But I have not tried yet ...

screen.png
screen.png (87.42 KiB) Viewed 2470 times
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Changes at TravisCI- affecting open source

Post by bernd »

abdullah wrote: Sun Sep 26, 2021 6:30 pm
kkremitzki wrote: Tue Sep 14, 2021 8:03 pm Wouldn't it be easiest to just move to GitHub Actions for now? They even have Windows, macOS, and Linux runners, so we could have all the CI/CD in one place.
I have just gone through this thread from the beginning to "catch up".

To answer your question (although it may bring nothing with Przemo and Bernd duo almost there), another user, vosk, did some work on GitHub actions in Q1 2021:

https://github.com/vosk/FreeCAD/blob/gi ... /cmake.yml
...
is there a froum topic about this or just this repository?
abdullah
Veteran
Posts: 4935
Joined: Sun May 04, 2014 3:16 pm
Contact:

Re: Changes at TravisCI- affecting open source

Post by abdullah »

bernd wrote: Tue Sep 28, 2021 12:00 pm
abdullah wrote: Sun Sep 26, 2021 6:30 pm
kkremitzki wrote: Tue Sep 14, 2021 8:03 pm Wouldn't it be easiest to just move to GitHub Actions for now? They even have Windows, macOS, and Linux runners, so we could have all the CI/CD in one place.
I have just gone through this thread from the beginning to "catch up".

To answer your question (although it may bring nothing with Przemo and Bernd duo almost there), another user, vosk, did some work on GitHub actions in Q1 2021:

https://github.com/vosk/FreeCAD/blob/gi ... /cmake.yml
...
is there a froum topic about this or just this repository?
Is this very same topic (around pg. 3)
User avatar
chennes
Veteran
Posts: 3884
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Changes at TravisCI- affecting open source

Post by chennes »

Regarding a Windows build, @wmayer and I have been working on getting FreeCAD to compile on MSYS2 (well, OK, @wmayer did most of the real work, I kept getting stuck!). We're awaiting two PR merges in the MSYS2/MINGW packages repo fixing up some OpenCASCADE issues, but I think otherwise the current master will compile. So now a Windows build should be much like a Linux one -- MSYS2 is how Inkscape builds their Windows binary, I think, and they have a CI workflow doing it.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Changes at TravisCI- affecting open source

Post by bernd »

chennes wrote: Tue Sep 28, 2021 12:40 pm Regarding a Windows build, @wmayer and I have been working on getting FreeCAD to compile on MSYS2 (well, OK, @wmayer did most of the real work, I kept getting stuck!). We're awaiting two PR merges in the MSYS2/MINGW packages repo fixing up some OpenCASCADE issues, but I think otherwise the current master will compile. So now a Windows build should be much like a Linux one -- MSYS2 is how Inkscape builds their Windows binary, I think, and they have a CI workflow doing it.
they provide docker images ... https://gitlab.com/inkscape/inkscape-ci-docker or am I missing something and they produce real builds for each os with their CI?
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Changes at TravisCI- affecting open source

Post by bernd »

automatically generated posts on PRs are no longer made by me but by a new born user the FreeCAD CI robot (freecadci)

Screenshot_20210928_161122.png
Screenshot_20210928_161122.png (37.38 KiB) Viewed 2287 times
User avatar
chennes
Veteran
Posts: 3884
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Changes at TravisCI- affecting open source

Post by chennes »

bernd wrote: Tue Sep 28, 2021 12:49 pm am I missing something and they produce real builds for each os with their CI?
It may be me misunderstanding how it all works, I'm looking here:
https://gitlab.com/inkscape/inkscape/-/ ... lab-ci.yml

And here you can download the artifacts for each of the OSes (only for the successful builds, obviously!):
https://gitlab.com/inkscape/inkscape/-/pipelines
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
Post Reply