EmptyEpsilon unofficial auto-builds
I have setup a script to run once an hour to check GitHub for updates on the EmptyEpsilon & SeriousProton repos.
If there's an update it will check it out, compile for Windows, bundle the EXE and instructions into a zip and upload it to http://bridgesim.net/builds/emptyepsilon. I might set it up to upload to Google Drive, but since it's just a few MB, I might leave it how it is for now. (If so the previous URL will have a webpage that points to the current ZIP files.
There should only be 3 files in the EmptyEpsilon-EXE-*.zip file. The files are
The README-BUILD.txt that contains instructions, the scripting documentation html file scripts_docs.html, and the EmptyEpsilon_*.exe which has the short commit version in the file name . This is so you can tell which commit it is from for Debugging.
You will need the EmptyEpsilon-DLL-*.zip - usually needed to be downloaded once since the DLLS don't change much. The README-BUILD.txt file has the URL needed for the ZIP file from GitHub that contains the game data.
If there's an update it will check it out, compile for Windows, bundle the EXE and instructions into a zip and upload it to http://bridgesim.net/builds/emptyepsilon. I might set it up to upload to Google Drive, but since it's just a few MB, I might leave it how it is for now. (If so the previous URL will have a webpage that points to the current ZIP files.
There should only be 3 files in the EmptyEpsilon-EXE-*.zip file. The files are
The README-BUILD.txt that contains instructions, the scripting documentation html file scripts_docs.html, and the EmptyEpsilon_*.exe which has the short commit version in the file name . This is so you can tell which commit it is from for Debugging.
You will need the EmptyEpsilon-DLL-*.zip - usually needed to be downloaded once since the DLLS don't change much. The README-BUILD.txt file has the URL needed for the ZIP file from GitHub that contains the game data.
Comments
Eventually the server will probably build other programs/games as well and not just EE.
It's a manual process to grab all the pieces needed to actually play the new builds. I might setup a file that contains links to be able to script downloading the new files. This would be for those who want to pull it down automatically so others can have the bleeding edge like me.
I also need to make it report if the builds fail, and for what reason. That way we can tell why a new build hasn't appeared after a commit.
The box running the builds isn't a beefy one. It's a old MSI Wind with a single core Intel Atom. Right now it's running from a 4GB Compact Flash (OS) & 4GB USB drive (Builds) running Debian Jessie 32bit. Eventually I'd like to put a small SSD in there to speed up the builds. It's a low power box that I've had sitting around for a while. Figured I'd put it to use.
For auto-builds. I recommend "jenkins" you can set it up to build, and email on build failures.
The android builds are tricky. Just getting SFML to build properly was hell, and I had to patch SFML to work without crashing. It also takes forever to build, about 20 minutes on that machine. Without building SFML.
I've saw the instructions on what you had to do in the Readme.md file for the Android builds. I just need more time to sit down and work on it. Convention season here is starting this weekend, so it could be a while before I get to it.
The Android build actually takes one and a half hour now. So be careful with that one ;-)
Need to fix the link tonight to the EE website as I typo'ed it
In doing some testing, I typo'ed the archive folder name, so the archives have been cleaned out.
Zip files for the EXE's that older than 15 days should be moved to the archives directory once a day at around 1AM CST. Files older than 60 days should be deleted from the archives directory.
I also reversed the sorting so new files are on top and the oldest files are at the bottom of the list.
should beare uploading again. Compiled for Windows & Linux (32bit)now.