28 lines
649 B
Plaintext
28 lines
649 B
Plaintext
![]() |
def main(ctx):
|
||
|
pipelines = []
|
||
|
for arch in ["arm", "arm64"]:
|
||
|
for julia in ["1.1", "1.2"]:
|
||
|
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();'",
|
||
|
],
|
||
|
},
|
||
|
],
|
||
|
}
|