2021-10-19 18:05:37 -04:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
|
|
|
|
examples = [
|
|
|
|
"counter",
|
|
|
|
"picosoc",
|
|
|
|
"litex",
|
|
|
|
"litex_linux",
|
2021-11-24 10:00:11 -05:00
|
|
|
"litex_sata",
|
2021-10-19 18:05:37 -04:00
|
|
|
"button_controller",
|
|
|
|
"pulse_width_led",
|
|
|
|
"timer",
|
2021-10-23 19:40:31 -04:00
|
|
|
"hello-a",
|
|
|
|
"hello-b",
|
|
|
|
"hello-c",
|
2021-10-23 21:42:30 -04:00
|
|
|
"hello-d",
|
|
|
|
"hello-e",
|
|
|
|
"hello-f",
|
|
|
|
"hello-g",
|
|
|
|
"hello-h",
|
|
|
|
"hello-i",
|
2021-10-23 21:50:28 -04:00
|
|
|
"hello-j",
|
|
|
|
"hello-k",
|
|
|
|
"hello-l"
|
2021-10-19 18:05:37 -04:00
|
|
|
]
|
|
|
|
|
|
|
|
jobs = []
|
|
|
|
|
|
|
|
osvers = [
|
|
|
|
("ubuntu", "xenial"),
|
|
|
|
("ubuntu", "bionic"),
|
|
|
|
("ubuntu", "focal"),
|
|
|
|
("centos", "7"),
|
|
|
|
("centos", "8"),
|
|
|
|
("debian", "buster"),
|
|
|
|
("debian", "bullseye"),
|
|
|
|
("debian", "sid")
|
|
|
|
]
|
|
|
|
|
|
|
|
for osver in osvers:
|
|
|
|
jobs += [{
|
|
|
|
'fpga-fam': "xc7",
|
|
|
|
'os': osver[0],
|
|
|
|
'os-version': osver[1],
|
|
|
|
'example': example
|
|
|
|
} for example in examples]
|
|
|
|
|
|
|
|
jobs += [{
|
|
|
|
'fpga-fam': "eos-s3",
|
|
|
|
'os': osver[0],
|
|
|
|
'os-version': osver[1],
|
|
|
|
'example': "counter"
|
|
|
|
} for osver in osvers]
|
|
|
|
|
|
|
|
print('::set-output name=matrix::' + str(jobs))
|