Skip to content

Commit 34069e1

Browse files
giordanoIanButterworth
authored andcommitted
Add Drone CI scripts (#8)
* Add Drone CI scripts See https://discourse.julialang.org/t/testing-on-arm-with-drone-ci/25871 The jsonnet file is not strictly necessary, but it allows us to easily regenerate the YAML in the future. Tell if you don't want it. * Enable ARM arch with Julia 1.0
1 parent 7898186 commit 34069e1

File tree

2 files changed

+67
-0
lines changed

2 files changed

+67
-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: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
kind: pipeline
3+
name: linux - arm - Julia 1.0
4+
5+
platform:
6+
os: linux
7+
arch: arm
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.0
18+
19+
platform:
20+
os: linux
21+
arch: arm64
22+
23+
steps:
24+
- name: build
25+
image: julia:1.0
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+
---
30+
kind: pipeline
31+
name: linux - arm64 - Julia 1.1
32+
33+
platform:
34+
os: linux
35+
arch: arm64
36+
37+
steps:
38+
- name: build
39+
image: julia:1.1
40+
commands:
41+
- "julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'"
42+
43+
...

0 commit comments

Comments
 (0)