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)
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)
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
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
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.
Perfect, that would help us to test bugs faster, the beta testers :-D
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.
Code is ready to cross-compile.
Now I need something which would checkout the code and compile it at given hour.
Any ideas?
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.
Glorious the day that we would play KeeperFX in native Linux and native Mac...
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.
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...