Open heydojo opened 6 years ago
I don't know how to use it, but anyone else here is welcome to try setting DOSBox-X up for it.
Does DOSBox-X have automatic tests? If yes, I might be able to help setting it up. (If not, then what's the point setting up continuous integration?)
Not yet.
Not yet.
C++11 compliance might be a good idea first if you are considering implementing some unit tests. Stuff like string manipulation is much easier to deal with. Just my two cents. :)
Does DOSBox-X have automatic tests? If yes, I might be able to help setting it up. (If not, then what's the point setting up continuous integration?)
Although CI is the main focus of plans offered by Appveyor, the service also has excellent integration into github. Specifically releases. In my Windows only fork of Dosbox-X, I don't use CI for commits (you can turn it off in github's settings.) The way I use Appveyor is as following:
All code is pushed or merged into a staging branch. The Master branch is always left clean and always builds. Appveyor is disabled on the staging branch.
When the staging branch is merged into master, this triggers an automatic build by Appveyor.
Staging is only merged into master when staging is ready to be used to create a release.
The automatic build by Appveyor transparently builds the binaries, zips them up into a release archive and automatically creates a release on github with the archive attached.
Having this system in place saves so much time, requires one file placed in the root of the master tree and linking an Appveyor account to the project's github account (give or take a few account settings.) It really is worth looking into.
For the other platforms (Mac and Linux,) Travis CI is the other big service provider available and in Dosbox-X's case, you could use both Appveyor and Travis CI to handle releases.
I am just putting this info out there for you guys working on Dosbox-X. Appveyor works and I have built the code using it.
The decision to use a CI service can only be Jon's. The account holder needs to link their github account to the service and setup an api key for it to work.
I noticed that QupZilla uses appveyor for automated building of their Windows binaries. Is this something which Dosbox-X could tap into too? It is free for open source projects and integrates with github. Qupzilla's source has an appveyor.yml which I think gives a good idea of how it works if you are interested.