28 lines
649 B
Plaintext
28 lines
649 B
Plaintext
def main(ctx):
|
|
pipelines = []
|
|
for arch in [{{{ARCHES}}}]:
|
|
for julia in [{{{VERSIONS}}}]:
|
|
pipelines.append(pipeline(arch, julia))
|
|
return pipelines
|
|
|
|
def pipeline(arch, julia):
|
|
return {
|
|
"kind": "pipeline",
|
|
"type": "docker",
|
|
"name": "Julia %s - %s" % (julia, arch),
|
|
"platform": {
|
|
"os": "linux",
|
|
"arch": arch,
|
|
},
|
|
"steps": [
|
|
{
|
|
"name": "test",
|
|
"image": "julia:%s" % julia,
|
|
"commands": [
|
|
"julia -e 'using InteractiveUtils; versioninfo()'",
|
|
"julia --project=@. -e 'using Pkg; Pkg.instantiate(); Pkg.build(); Pkg.test();'",
|
|
],
|
|
},
|
|
],
|
|
}
|