summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan (janneke) Nieuwenhuizen <janneke@gnu.org>2020-09-25 17:59:50 +0200
committerJan (janneke) Nieuwenhuizen <janneke@gnu.org>2020-09-25 18:14:58 +0200
commitdb2785cd86ee420039ca44bba898151a4f9bbf2b (patch)
tree113ef1445a8fdda0bdafcc77cc9f23769ff7e60b
parent67ad1e148cdca053c7a96a090209832a8a5ca178 (diff)
ci: Remove native-system restriction from "hello" and "list" jobsets.
* gnu/ci.scm (hydra-jobs): Remove restriction for system to equal (%current-system). Co-authored-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/ci.scm22
1 files changed, 9 insertions, 13 deletions
diff --git a/gnu/ci.scm b/gnu/ci.scm
index 0ce32ef8d8a..d612e0e25f2 100644
--- a/gnu/ci.scm
+++ b/gnu/ci.scm
@@ -1,6 +1,6 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org> 2;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
3;;; Copyright © 2017 Jan Nieuwenhuizen <janneke@gnu.org> 3;;; Copyright © 2017, 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
4;;; Copyright © 2018, 2019 Clément Lassieur <clement@lassieur.org> 4;;; Copyright © 2018, 2019 Clément Lassieur <clement@lassieur.org>
5;;; Copyright © 2020 Julien Lepiller <julien@lepiller.eu> 5;;; Copyright © 2020 Julien Lepiller <julien@lepiller.eu>
6;;; 6;;;
@@ -511,20 +511,16 @@ Return #f if no such checkout is found."
511 (cross-jobs store system))) 511 (cross-jobs store system)))
512 ((hello) 512 ((hello)
513 ;; Build hello package only. 513 ;; Build hello package only.
514 (if (string=? system (%current-system)) 514 (let ((hello (specification->package "hello")))
515 (let ((hello (specification->package "hello"))) 515 (list (package-job store (job-name hello) hello system))))
516 (list (package-job store (job-name hello) hello system)))
517 '()))
518 ((list) 516 ((list)
519 ;; Build selected list of packages only. 517 ;; Build selected list of packages only.
520 (if (string=? system (%current-system)) 518 (let* ((names (assoc-ref arguments 'subset))
521 (let* ((names (assoc-ref arguments 'subset)) 519 (packages (map specification->package names)))
522 (packages (map specification->package names))) 520 (map (lambda (package)
523 (map (lambda (package) 521 (package-job store (job-name package)
524 (package-job store (job-name package) 522 package system))
525 package system)) 523 packages)))
526 packages))
527 '()))
528 ((manifests) 524 ((manifests)
529 ;; Build packages in the list of manifests. 525 ;; Build packages in the list of manifests.
530 (let* ((manifests (arguments->manifests arguments)) 526 (let* ((manifests (arguments->manifests arguments))