Skip to content

Commit

Permalink
Run Drone with Julia 1.5 and only on master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano committed Dec 25, 2020
1 parent a2b1e00 commit 85b3b04
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .drone.jsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
local Pipeline(os, arch, version) = {
kind: "pipeline",
name: os+" - "+arch+" - Julia "+version,
platform: {
os: os,
arch: arch
},
steps: [
{
name: "build",
image: "julia:"+version,
commands: [
"julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'"
]
}
],
trigger: {
branch: ["master"]
}
};

[
Pipeline("linux", "arm", "1.3"),
Pipeline("linux", "arm64", "1.3"),
Pipeline("linux", "arm64", "1.5")
]
26 changes: 26 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ steps:
commands:
- "julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'"

trigger:
branch:
- master

---
kind: pipeline
name: linux - arm64 - Julia 1.3
Expand All @@ -26,4 +30,26 @@ steps:
commands:
- "julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'"

trigger:
branch:
- master

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

platform:
os: linux
arch: arm64

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

trigger:
branch:
- master

...
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.drone.jsonnet linguist-detectable=false
CITATION.bib linguist-detectable=false

0 comments on commit 85b3b04

Please sign in to comment.