BitcoinTalk

Automated nightly builds

BitcoinTalk
#1
From:
Cdecker
Subject:
Automated nightly builds
Date:
I finally managed to get the openSuse Build Service (OBS) to build working nightly packages of bitcoind (the client without the wx GUI). openSuse and SLE will follow soon.

To install the Ubuntu packages add the following line to your /etc/apt/sources.list:
Code:
deb http://download.opensuse.org/repositories/home:/cdecker/xUbuntu_10.04/ ./
Next update:
Code:
sudo aptitude update
sudo aptitude install bitcoind
If you get a warning about not being able to verify the validity of the packages, just ignore them, I wasn't able to find the public key yet :-)

Then just create a config file ~/.bitcoin/bitcoin.conf to configure the RPC password:
Code:
rpcpassword=<yourpassword>

After this just start the daemon via
Code:
bitcoind
and control it using the JSON interface.

I'll be trying to create openSuse and SLE packages too, Debian would be possible too, but compiling wx, boost and libdb sounds a bit excessive to me, anyone interested in helping?
BitcoinTalk
#2
From:
Gavin Andresen
Subject:
Re: Automated nightly builds
Date:
I'll be trying to create openSuse and SLE packages too, Debian would be possible too, but compiling wx, boost and libdb sounds a bit excessive to me, anyone interested in helping?

Nightly builds are a great idea; does the build service do an automatic svn update?  Anybody else willing to help get GUI-bitcoin building (or anybody know somebody on the wxWidgets team?)
BitcoinTalk
#3
From:
Cdecker
Subject:
Re: Automated nightly builds
Date:
Actually the openSuse Build Service is more meant for packages that have to be reliably built for a multitude of systems and updated consistently across all of the distros, but adding a small cron job can pull SVN and push the changes to the Build Service, kicking off a recompile. I wouldn't abuse it though.

I think we should sooner or later add a continuous integration tool, to check code submissions against the (until now inexisting) unit tests. That would also be able to create nightly builds ^^
BitcoinTalk
#4
From:
satoshi
Subject:
Re: Automated nightly builds
Date:
Thanks for setting this up Cdecker. 

Is there any chance of getting it to build the GUI version also?  If this is Ubuntu, if you get wxWidgets 2.9.0 it should just be a matter of following the steps in build-unix.txt exactly.  Is this an environment where you can build wxWidgets once and leave it there and just keep using it?