-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.drone.star
29 lines (28 loc) · 800 Bytes
/
.drone.star
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
def main(ctx):
pipelines = []
pipelines.append(pipeline("arm64", "1.4"))
pipelines.append(pipeline("arm", "1.4.1"))
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": [
"apt-get update && apt-get install -y build-essential",
"julia -e 'using InteractiveUtils; versioninfo()'",
"julia -e 'using Pkg; Pkg.add(\"PackageCompiler\")'",
"julia --project=@. -e 'using Pkg; Pkg.instantiate(); Pkg.build(); include(\"build.jl\")'",
"./build/bin/HelloX",
],
},
],
}