jjb: binutils-gdb: add target_board axis
[lttng-ci.git] / jobs / binutils-gdb.yaml
index 5e3ac88679a143559e044082e53aab7cac549e75..fa88daa5bbcc2af628f87fdf1c578d951f0db214 100644 (file)
          type: slave
          name: arch
          values: '{obj:arch}'
+      - axis:
+         type: user-defined
+         name: target_board
+         values: '{obj:target_board}'
+
+    builders:
+      - shell:
+         !include-raw-escape:
+           - scripts/common/print.sh
+           - scripts/binutils-gdb/build.sh
+
+    publishers:
+      - archive:
+          artifacts: 'build/**,results/**'
+          allow-empty: false
+      - junit:
+          results: 'results/*.xml'
+      - email:
+          recipients: 'simon.marchi@efficios.com'
 
     builders:
       - shell:
@@ -71,6 +90,8 @@
     defaults: binutils-gdb
     concurrent: true
 
+    project-type: matrix
+
     scm:
       - git:
           url: https://review.lttng.org/binutils-gdb
                 - branch-compare-type: 'ANT'
                   branch-pattern: '**'
 
-    node: 'amd64'
+    node: 'master'
+    axes:
+      - axis:
+         type: slave
+         name: arch
+         values: '{obj:arch}'
+      - axis:
+         type: user-defined
+         name: target_board
+         values: '{obj:target_board}'
 
     builders:
       - shell:
     jobs:
       - 'binutils-gdb_{version}_build':
           arch: !!python/tuple [amd64]
+          target_board: !!python/tuple ["unix", "native-gdbserver", "native-extended-gdbserver"]
 
 - project:
     name: gerrit-gdb
     jobs:
-      - 'dev_gerrit_binutils-gdb_build'
+      - 'dev_gerrit_binutils-gdb_build':
+          arch: !!python/tuple [amd64]
+          target_board: !!python/tuple ["unix", "native-gdbserver", "native-extended-gdbserver"]
 
 - project:
     name: gdb-views
This page took 0.023101 seconds and 4 git commands to generate.