Recent

Author Topic: Using Jenkins & Lazarus  (Read 1996 times)

strider

  • New member
  • *
  • Posts: 7
Using Jenkins & Lazarus
« on: September 04, 2017, 10:25:33 pm »
I'd like to automate builds for my project via Jenkins - like I do for other projects.

I'm wondering how to do this for Lazarus. Is it possible to get a makefile that I can use to build a project automatically without loading Lazarus and using Build/Compile etc ?

I can see that I can the compile options from Project Options -> Compile -> Show Options and this does work with fpc (I can compile the unit.pas files) however - it looks like I cant auto compile the toolkits, etc, and also I cant link my project.

Any ideas where to start? Thanks.

strider

  • New member
  • *
  • Posts: 7
Re: Using Jenkins & Lazarus
« Reply #1 on: September 04, 2017, 10:36:50 pm »
And a few minutes later I realise there is a tool 'lazbuild' that does just that :)

Chronos

  • Full Member
  • ***
  • Posts: 241
    • PascalClassLibrary
Re: Using Jenkins & Lazarus
« Reply #2 on: September 05, 2017, 05:26:02 pm »
Also you can start or continue here: http://wiki.freepascal.org/Jenkins

 

TinyPortal © 2005-2018