Skip to content

Commit bf2a58e

Browse files
authored
Run CI on aarch64 with Drone (#472)
1 parent c7a0ef9 commit bf2a58e

File tree

2 files changed

+71
-0
lines changed

2 files changed

+71
-0
lines changed

.drone.jsonnet

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
local Pipeline(os, arch, version, alpine=false) = {
2+
kind: "pipeline",
3+
name: os+" - "+arch+" - Julia "+version+(if alpine then " (Alpine)" else ""),
4+
platform: {
5+
os: os,
6+
arch: arch
7+
},
8+
steps: [
9+
{
10+
name: "Run tests",
11+
image: "julia:"+version+(if alpine then "-alpine" else ""),
12+
commands: [
13+
"julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true)'",
14+
"julia --project=. --check-bounds=yes --color=yes -e 'using Pkg; Pkg.build()'",
15+
"julia --project=. --check-bounds=yes --color=yes -e 'using Pkg; Pkg.test(coverage=true)'"
16+
]
17+
}
18+
],
19+
trigger: {
20+
branch: ["master"]
21+
}
22+
};
23+
24+
[
25+
# Pipeline("linux", "arm", "1.3.1"),
26+
# Pipeline("linux", "arm", "1.6.1"),
27+
Pipeline("linux", "arm64", "1.3"),
28+
Pipeline("linux", "arm64", "1.6"),
29+
# Pipeline("linux", "amd64", "1.6", true)
30+
]

.drone.yml

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
kind: pipeline
3+
name: linux - arm64 - Julia 1.3
4+
5+
platform:
6+
os: linux
7+
arch: arm64
8+
9+
steps:
10+
- name: Run tests
11+
image: julia:1.3
12+
commands:
13+
- "julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true)'"
14+
- "julia --project=. --check-bounds=yes --color=yes -e 'using Pkg; Pkg.build()'"
15+
- "julia --project=. --check-bounds=yes --color=yes -e 'using Pkg; Pkg.test(coverage=true)'"
16+
17+
trigger:
18+
branch:
19+
- master
20+
21+
---
22+
kind: pipeline
23+
name: linux - arm64 - Julia 1.6
24+
25+
platform:
26+
os: linux
27+
arch: arm64
28+
29+
steps:
30+
- name: Run tests
31+
image: julia:1.6
32+
commands:
33+
- "julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true)'"
34+
- "julia --project=. --check-bounds=yes --color=yes -e 'using Pkg; Pkg.build()'"
35+
- "julia --project=. --check-bounds=yes --color=yes -e 'using Pkg; Pkg.test(coverage=true)'"
36+
37+
trigger:
38+
branch:
39+
- master
40+
41+
...

0 commit comments

Comments
 (0)