summaryrefslogtreecommitdiff
path: root/build-aux/hydra
diff options
context:
space:
mode:
authorJan Nieuwenhuizen <janneke@gnu.org>2017-09-16 12:57:37 +0200
committerJan Nieuwenhuizen <janneke@gnu.org>2017-09-27 22:19:28 +0200
commit66bc1d2aaf74fc7eb4ef9b3519c69bd37142ffb3 (patch)
treee08443c9edcd519d22bc5ce432cb817725499206 /build-aux/hydra
parent408091d5a58801f88f8a5269387ce5efa701508b (diff)
downloadpatches-66bc1d2aaf74fc7eb4ef9b3519c69bd37142ffb3.tar
patches-66bc1d2aaf74fc7eb4ef9b3519c69bd37142ffb3.tar.gz
cuirass: Add gnu-system build spec.
* build-aux/hydra/gnu-system.scm (hydra-jobs): Support subset "hello". * build-aux/cuirass/gnu-system.scm: New file. * doc/guix.texi (Continuous Integration): Update example spec.
Diffstat (limited to 'build-aux/hydra')
-rw-r--r--build-aux/hydra/gnu-system.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/build-aux/hydra/gnu-system.scm b/build-aux/hydra/gnu-system.scm
index 73bd566f7c..8f97ab934f 100644
--- a/build-aux/hydra/gnu-system.scm
+++ b/build-aux/hydra/gnu-system.scm
@@ -270,6 +270,7 @@ valid."
(define subset
(match (assoc-ref arguments 'subset)
("core" 'core) ; only build core packages
+ ("hello" 'hello) ; only build hello
(_ 'all))) ; build everything
(define (cross-jobs system)
@@ -340,6 +341,12 @@ valid."
package system))
%core-packages)
(cross-jobs system)))
+ ((hello)
+ ;; Build hello package only.
+ (if (string=? system (%current-system))
+ (let ((hello (specification->package "hello")))
+ (list (package-job store (job-name hello) hello system)))
+ '()))
(else
(error "unknown subset" subset))))
%hydra-supported-systems)))