Post
Topic
Board Announcements (Altcoins)
Re: [ANN] AEON [2017-04-23: update to 0.9.12.0]
by
Arux
on 30/04/2017, 21:32:21 UTC
Arux/Stoffu (or others):

Would it be possible to create an Appveyor.yml script so we can build the Aeon binaries ourselves using Appveyor.com? They already have Boost/Cmake. I'm not skilled enough to properly write the script myself, but here's an initial take:  Grin

Code:
version: 1.0.{build}
configuration: Release
platform: x64
before_build:

  cd C:\projects\aeon
  
  git checkout v0.9.12.0
  
  mkdir build
  
  cd build
  
  cmake -G "Visual Studio 14 2015 Win64" -DBOOST_ROOT=C:/Libraries/boost_1_63_0 -DBOOST_LIBRARYDIR=C:/Libraries/boost_1_63_0/lib64-msvc-14.0 ..

  ls

build:
  project: C:\projects\aeon\build\Project.sln
  parallel: true
  verbosity: minimal
after_build:
- cmd: 7z a aeon-0.9.12.0.zip C:\projects\aeon\build\src\release\aeond.exe C:\projects\aeon\build\src\release\simplewallet.exe
artifacts:
- path: aeon-0.9.12.0.zip

The above build is failing though: https://paste.fedoraproject.org/paste/LLPA9prvltZLI4~XkCUO8F5M1UNdIGYhyRLivL9gydE=

Maybe because Appveyor only has 4GB RAM...
your script is ok, windows compilation need to be improved. the problem is because there are some errors which do not prevent to build aeond.exe and simplewallet.exe. on a physical machine, you can find your exe files although compilation failed but on appveyor, you're stuck at "Command exited with code 1".
i will try to debug it. appveyor is an interesting option.
this is my appveyor.yml file https://github.com/Arux-BTT/aeon/commit/129296d2629ac873496be054ad9e649f82887eb7
based on the official doc https://www.appveyor.com/docs/appveyor-yml/
there is a lot of unused options but i like to keep them ready-to-use
the unsuccessful output: https://ci.appveyor.com/project/Arux/aeon-0u95x