Skip to content

Commit

Permalink
Add Drone CI jsonnet script and generate .drone.yml from it
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano committed Jun 30, 2019
1 parent 0e92b72 commit 669fec3
Show file tree
Hide file tree
Showing 2 changed files with 113 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .drone.jsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
local Pipeline(os, arch, version) = {
kind: "pipeline",
name: os+" - "+arch+" - Julia v"+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)'"
]
}
]
};

[
# Pipeline("linux", "arm", "1.0"),
# Pipeline("linux", "arm", "1.1"),
Pipeline("linux", "arm", "1.2"),
Pipeline("linux", "arm", "nightly"),
Pipeline("linux", "arm64", "1.0"),
Pipeline("linux", "arm64", "1.1"),
Pipeline("linux", "arm64", "1.2"),
Pipeline("linux", "arm64", "nightly")
]
85 changes: 85 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
---
kind: pipeline
name: linux - arm - Julia v1.2

platform:
os: linux
arch: arm

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

---
kind: pipeline
name: linux - arm - Julia vnightly

platform:
os: linux
arch: arm

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

---
kind: pipeline
name: linux - arm64 - Julia v1.0

platform:
os: linux
arch: arm64

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

---
kind: pipeline
name: linux - arm64 - Julia v1.1

platform:
os: linux
arch: arm64

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

---
kind: pipeline
name: linux - arm64 - Julia v1.2

platform:
os: linux
arch: arm64

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

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

platform:
os: linux
arch: arm64

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

...

0 comments on commit 669fec3

Please sign in to comment.