Skip to content

Commit 032048a

Browse files
giordanoararslan
authored andcommitted
Add Drone CI scripts (#170)
1 parent 2e70b3d commit 032048a

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed

.drone.jsonnet

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
local Pipeline(os, arch, version) = {
2+
kind: "pipeline",
3+
name: os+" - "+arch+" - Julia "+version,
4+
platform: {
5+
os: os,
6+
arch: arch
7+
},
8+
steps: [
9+
{
10+
name: "build",
11+
image: "julia:"+version,
12+
commands: [
13+
"julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'"
14+
]
15+
}
16+
]
17+
};
18+
19+
[
20+
# Pipeline("linux", "arm", "1.0"),
21+
# Pipeline("linux", "arm", "1.1"),
22+
Pipeline("linux", "arm64", "1.0"),
23+
Pipeline("linux", "arm64", "1.1")
24+
]

.drone.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
kind: pipeline
3+
name: linux - arm64 - Julia 1.0
4+
5+
platform:
6+
os: linux
7+
arch: arm64
8+
9+
steps:
10+
- name: build
11+
image: julia:1.0
12+
commands:
13+
- "julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'"
14+
15+
---
16+
kind: pipeline
17+
name: linux - arm64 - Julia 1.1
18+
19+
platform:
20+
os: linux
21+
arch: arm64
22+
23+
steps:
24+
- name: build
25+
image: julia:1.1
26+
commands:
27+
- "julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'"
28+
29+
...

0 commit comments

Comments
 (0)