Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.

Commit e177010

Browse files
Add ARM testing.
1 parent 04c18d2 commit e177010

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

bb_master_config/master.cfg

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ FREEBSD_BB_SECRETS = parseConfig(os.path.expanduser(
2323
'~/secrets/freebsd_bb_secrets.json'))
2424
UBUNTU_BB_SECRETS = parseConfig(os.path.expanduser(
2525
'~/secrets/ubuntu_bb_secrets.json'))
26+
ARM_BB_SECRETS = parseConfig(os.path.expanduser(
27+
'~/secrets/arm_bb_secrets.json'))
2628
MASTER_BB_SECRETS = parseConfig(os.path.expanduser(
2729
'~/secrets/master_bb_secrets.json'))
2830

@@ -61,6 +63,14 @@ c['workers'].append(
6163
max_builds=1,
6264
)
6365
)
66+
c['workers'].append(
67+
worker.Worker(
68+
ARM_BB_SECRETS['bb_un'],
69+
ARM_BB_SECRETS['bb_pw'],
70+
max_builds=1,
71+
)
72+
)
73+
6474

6575
# 'protocols' contains information about protocols which master will use for
6676
# communicating with workers. You must define at least 'port' option that workers
@@ -122,9 +132,15 @@ ALL_BUILDER_NAMES = []
122132

123133
c['builders'] = []
124134
for configuration in configurations:
135+
arm_name = "arm(" + ", ".join(configuration) + ")"
125136
ubuntu_name = "ubuntu(" + ", ".join(configuration) + ")"
126137
freebsd_name = "freebsd(" + ", ".join(configuration) + ")"
127-
ALL_BUILDER_NAMES += [ubuntu_name, freebsd_name]
138+
ALL_BUILDER_NAMES += [arm_name, ubuntu_name, freebsd_name]
139+
c['builders'].append(
140+
util.BuilderConfig(
141+
name=arm_name,
142+
workernames=["arm-worker"],
143+
factory=genFactory("make", configuration)))
128144
c['builders'].append(
129145
util.BuilderConfig(
130146
name=ubuntu_name,

0 commit comments

Comments
 (0)