-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Drone CI jsonnet script and generate .drone.yml from it
- Loading branch information
Showing
2 changed files
with
113 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)'" | ||
|
||
... |