2016-09-26 10:34:48 +02:00
|
|
|
Cuirass is a continuous integration tool using GNU Guix. It is intended as a
|
|
|
|
replacement for Hydra.
|
2016-05-11 19:59:47 +02:00
|
|
|
|
|
|
|
Requirements
|
|
|
|
============
|
|
|
|
|
2016-08-03 02:45:56 +02:00
|
|
|
Cuirass currently depends on the following packages:
|
2016-05-11 19:59:47 +02:00
|
|
|
|
2016-08-03 02:45:56 +02:00
|
|
|
- GNU Guile 2.0.9 or later
|
|
|
|
- GNU Guix (and all its development dependencies)
|
|
|
|
- GNU Make
|
|
|
|
- Guile-JSON
|
|
|
|
- Guile-SQLite3
|
|
|
|
- Git
|
2016-06-16 01:11:57 +02:00
|
|
|
|
2016-08-03 02:45:56 +02:00
|
|
|
A convenient way to install those dependencies is to install Guix and execute
|
|
|
|
the following command:
|
|
|
|
|
|
|
|
./build-aux/guix-env
|
|
|
|
|
|
|
|
This will build and enter an environment which provides all the necessary
|
|
|
|
dependencies.
|
2016-07-02 23:00:17 +02:00
|
|
|
|
|
|
|
Example
|
|
|
|
=======
|
|
|
|
|
|
|
|
A quick way to manually test Cuirass is to execute:
|
|
|
|
|
2016-12-16 13:20:49 +01:00
|
|
|
./pre-inst-env cuirass --specifications=examples/hello-singleton.scm --database=test.db
|
2016-07-26 11:58:28 +02:00
|
|
|
|
2016-12-16 13:20:49 +01:00
|
|
|
This will read the file "examples/hello-singleton.scm" which contains a list of
|
2016-07-26 11:58:28 +02:00
|
|
|
specifications and add them to the database "test.db" which is created if it
|
|
|
|
doesn't already exist.
|
|
|
|
|
2016-09-26 10:34:48 +02:00
|
|
|
'cuirass' then loops evaluating/building the specs. The database keeps track
|
|
|
|
of the specifications in order to allow users to accumulate specifications.
|
|
|
|
To resume the evaluation/build process you can execute the same command
|
|
|
|
without the '--specifications' option:
|
2016-07-26 11:58:28 +02:00
|
|
|
|
|
|
|
./pre-inst-env cuirass --database=test.db
|