How to automate or facilitate multi-platform assembly / testing before committing?

Our software is built on linux and windows platforms. Depending on the preferences of the developer, the contribution is developed and tested on any platform, and then transferred to our subversion repository. Then it turns out that the contribution is not built on another platform, and needs to be fixed. Fixing on another platform may again break the build on the original platform, etc.

I would prefer that a contribution (and a regression test) be built in on the other platform before it is complete. We have a continuous build server (CruiseControl), but this server is created from the repository. I am looking for a solution in which a continuous build server is built on another platform as a check before commit, and then commits the material if the build and testing are successful.

Any suggestions?

+5
source share
5 answers

Mathieu Godlevsky made a good offer in the CruiseControl wiki

If you combine your offer with the veto element , I think you should be set.

0
+6

, : , , , , .

+1

, ( ). , .

, , . , .

, , , per-commit , .

0

Douglas Leder proposed an β€œintegration” branch - the nice thing is that it can be automated. If the tests pass - merge with the "trunk".

Some version control systems (e.g. bzr / hg / git) make this easier than others, but this is possible for most.

0
source

All Articles