Konclik icon indicating copy to clipboard operation
Konclik copied to clipboard

Build and upload Windows target with Travis CI

Open dbaelz opened this issue 6 years ago • 3 comments

The build of the Windows target with the (experimental) Travis CI Windows image is stalled after the tests are executed. At the moment, this target is comment out in the Travis CI script. We should analyze why the build is stalled and fix it when possible. See this comment on #3 for details.

dbaelz avatar Oct 15 '18 18:10 dbaelz

I managed to get Windows working with Travis for another project (see .travis.yml and a successful build). Note that

  • --no-daemon prevents build/deploy steps from stalling
  • there is no caching because it is simply faster to download everything vs saving/loading cache archives; and
  • The jdk home must be manually defined and the installed jdk version can change between builds (hence the dir step), I don't have a good solution for this yet.

DrewCarlson avatar Oct 29 '18 22:10 DrewCarlson

I managed to get Windows working with Travis for another project (see .travis.yml and a successful build). Sounds good. A working windows build and upload to travis ci would be great for the 1.0 release.

Note that

  • --no-daemon prevents build/deploy steps from stalling
  • there is no caching because it is simply faster to download everything vs saving/loading cache archives; and
  • The jdk home must be manually defined and the installed jdk version can change between builds (hence the dir step), I don't have a good solution for this yet. The absolute JDK path and the installation is really ugly, but it's a first step. We could integrate it in Konclik in this way and check in the future for a better (then working) solution.

Would you recommend that we use this solution? If so, could you implement the changes and prepare a pull request?

dbaelz avatar Oct 30 '18 00:10 dbaelz

The JDK home path is really the only issue since it will break builds when the Windows image is updated. I will open a PR when I find a better solution.

DrewCarlson avatar Oct 30 '18 02:10 DrewCarlson