Re: automated builds?

"Merlin Moncure" <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
> >>Is everyone still building interactively? I'm looking for nice ways
to
> >>automate building on Windows without any human action
> >>required, as part of the buildfarm project.
> >>
> >>
> >

Here is what I did:
[build_postgres.bat]
echo "build_postgres" | C:\msys\1.0\bin\sh --login -i

[build_postgres]
cd /postgres/pgsql
./configure 
make clean
make
make install


build_postgres.bat was a batch file hooked to a scheduled task, and
build_postgres was a shell script sitting in my msys home folder.  I
built postgres nightly for a few months until the installer came online.

Just a word of warning: if the scheduled task fails for any reason (and
mine did a number of times, reason unknown), it will stop running until
you manually start it again.  I don't think it's good enough for an
industrial type setup unless you get some kind of confirmation from the
process.

Merlin


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [email protected])
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.