Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: FX daily build

  
  1. #1
    Imp Георгий Платонов's Avatar
    Join Date
    Jun 2011
    Location
    russia saint petersberg
    Posts
    14

    Default FX daily build

    The plan is to spread the so-called daily build indicating the build number?

    (The developer says that I found a bug http://code.google.com/p/keeperfx/issues/detail?id=29 fixed, I would like to test the project on, and send bug reports)

  2. #2
    Keeper of Keepers dotted's Avatar
    Join Date
    Jun 2009
    Location
    Denmark
    Posts
    1,151
    Gamer IDs

    Steam ID: dotted

    Default Re: FX daily build

    There is no daily build, you have to compile it yourself.
    "The essence of religion: Fear God and obey God. The quintessence of spirituality: Love God and become another God." -- Sri Chinmoy

  3. #3
    Ghost
    Join Date
    Dec 2010
    Location
    Madrid, Spain
    Posts
    368

    Default Re: FX daily build

    mefistotelis, can this be implemented? An automatic daily build in the server? I don't know very much about SVN and repositorys... That will be a good suggestion to test the fixes at the moment. VLC (video player) has got it for example:
    http://nightlies.videolan.org/build/win32/

    So you go to the "last" folder (press down in the scroll) and you get the latest exe compiled

  4. #4
    KeeperFX Author mefistotelis's Avatar
    Join Date
    Sep 2009
    Location
    Poland
    Posts
    1,242

    Default Re: FX daily build

    Sure it can; I'm an engineer, I believe everything can be done.

    If you wanted to ask if I will do this - well, I'm not sure. I don't really have time. But that would surely help in debugging. Maybe I will; I never tried to cross-compile where host is Linux and target is Win32, but this can't be too hard.

  5. #5
    Ghost
    Join Date
    Dec 2010
    Location
    Madrid, Spain
    Posts
    368

    Default Re: FX daily build

    Quote Originally Posted by mefistotelis View Post
    If you wanted to ask if I will do this - well, I'm not sure. I don't really have time. But that would surely help in debugging. Maybe I will;
    Perfect, that would help us to test bugs faster, the beta testers :-D

    Quote Originally Posted by mefistotelis View Post
    I never tried to cross-compile where host is Linux and target is Win32, but this can't be too hard.
    Interesting thing to investigate. I will look for this also, I'm not engineer but certified programmer... I will talk with my flatmate about that (he is also engineer).

    Ideas:
    - Probably there is a parameter in the gcc to specify target type OS?
    - Probably using mingw.exe with Wine in Linux? That can be probably work...
    - Or installing a Windows SO in Linux using virtualization in the server?

    Once the exe file is got, with a .sh script we can copy the file to a downloadable web folder you know

    ---------- Post added at 18:18 ---------- Previous post was at 18:01 ----------

    GCC parameter to OS targeting:
    http://gcc.gnu.org/onlinedocs/gcc-3....t-Options.html

    Forum thread with the case:
    http://stackoverflow.com/questions/1...nux-to-windows

    In the post there is the link: http://www.blogcompiler.com/2010/07/...dows-on-linux/ that is a tutorial to make exactly that thing
    Last edited by jomalin; June 29th, 2011 at 17:12.

  6. #6
    KeeperFX Author mefistotelis's Avatar
    Join Date
    Sep 2009
    Location
    Poland
    Posts
    1,242

    Default Re: FX daily build

    Code is ready to cross-compile.

    Now I need something which would checkout the code and compile it at given hour.

    Any ideas?

  7. #7

    Default Re: FX daily build

    We (at work) use this: http://jenkins-ci.org/

    We use it to build java (and gwt and other web tech) projects (ant, maven) but it also supports C++ or any other project type. We run it on an ApacheTomcat(5.x) and have builds scheduled every day at 4AM. Works like a charm. Before the build gets executed, Jenkins (ex Hudson) auto updates sources from SVN, makes builds and deploys apps. You can also run builds any time you want (even by remove URL). It's an awesome tool.

  8. #8
    Ghost
    Join Date
    Dec 2010
    Location
    Madrid, Spain
    Posts
    368

    Default Re: FX daily build

    Quote Originally Posted by mefistotelis View Post
    Code is ready to cross-compile.
    Glorious the day that we would play KeeperFX in native Linux and native Mac...

    Quote Originally Posted by mefistotelis View Post
    Now I need something which would checkout the code and compile it at given hour.

    Any ideas?
    Using cron, is the Unix (and Linux) job-scheduler, that you can configure it to execute commands or shell scripts at a certain time:
    http://en.wikipedia.org/wiki/Cron

    I think this is the easiest method because you don't need to install anything in the server. You can configure cron to compile the sources each X hours for example, executing the make command. Or even better: detect if there is something new in the repository, this can be done executing a script each 10 minutes for example, the script can look if there are new files or modified files looking their modified date stamp. This need some Linux shell scripting knowledge...
    Last edited by jomalin; June 30th, 2011 at 00:20.

  9. #9
    KeeperFX Author mefistotelis's Avatar
    Join Date
    Sep 2009
    Location
    Poland
    Posts
    1,242

    Default Re: FX daily build

    Quote Originally Posted by dkdd View Post
    We (at work) use this: http://jenkins-ci.org/
    Yeah, we're using that one too in my primary job.

    Quote Originally Posted by jomalin View Post
    Using cron, is the Unix (and Linux) job-scheduler, that you can configure it to execute commands or shell scripts at a certain time
    It might be the simplest and most efficient way.

  10. #10
    Ghost
    Join Date
    Dec 2010
    Location
    Madrid, Spain
    Posts
    368

    Default Re: FX daily build

    Quote Originally Posted by mefistotelis View Post
    It might be the simplest and most efficient way.
    Yes, and it is included in Linux by default.

    Only one thing, if you finally use the easiest method: using cron to compile KeeperFX each X hours for example (not to execute the .sh script that look for new or modified source files), we need to know which changes it includes (r402, 403, r404, etc), because KeeperFX can be compiled, and 5 minutes after you make a change in the SVN...

Similar Threads

  1. Replies: 14
    Last Post: May 22nd, 2011, 02:36

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •