Skip to content

Commit

Permalink
Run CI on aarch64 with Drone
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano committed Jun 3, 2021
1 parent 1ce6399 commit 98326cc
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .drone.jsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
local Pipeline(os, arch, version, alpine=false) = {
kind: "pipeline",
name: os+" - "+arch+" - Julia "+version+(if alpine then " (Alpine)" else ""),
platform: {
os: os,
arch: arch
},
steps: [
{
name: "Run tests",
image: "julia:"+version+(if alpine then "-alpine" else ""),
commands: [
"julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true)'",
"julia --project=. --check-bounds=yes --color=yes -e 'using Pkg; Pkg.build()'",
"julia --project=. --check-bounds=yes --color=yes -e 'using Pkg; Pkg.test(coverage=true)'"
]
}
],
trigger: {
branch: ["master"]
}
};

[
# Pipeline("linux", "arm", "1.3.1"),
# Pipeline("linux", "arm", "1.6.1"),
Pipeline("linux", "arm64", "1.3"),
Pipeline("linux", "arm64", "1.6"),
# Pipeline("linux", "amd64", "1.6", true)
]
41 changes: 41 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
kind: pipeline
name: linux - arm64 - Julia 1.3

platform:
os: linux
arch: arm64

steps:
- name: Run tests
image: julia:1.3
commands:
- "julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true)'"
- "julia --project=. --check-bounds=yes --color=yes -e 'using Pkg; Pkg.build()'"
- "julia --project=. --check-bounds=yes --color=yes -e 'using Pkg; Pkg.test(coverage=true)'"

trigger:
branch:
- master

---
kind: pipeline
name: linux - arm64 - Julia 1.6

platform:
os: linux
arch: arm64

steps:
- name: Run tests
image: julia:1.6
commands:
- "julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true)'"
- "julia --project=. --check-bounds=yes --color=yes -e 'using Pkg; Pkg.build()'"
- "julia --project=. --check-bounds=yes --color=yes -e 'using Pkg; Pkg.test(coverage=true)'"

trigger:
branch:
- master

...

0 comments on commit 98326cc

Please sign in to comment.