diff --git a/.drone.jsonnet b/.drone.jsonnet new file mode 100644 index 0000000..1d1c8e7 --- /dev/null +++ b/.drone.jsonnet @@ -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") +] diff --git a/.drone.yml b/.drone.yml index 54f6363..c38671a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 @@ -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 + ... diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9fbcc3f --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +.drone.jsonnet linguist-detectable=false +CITATION.bib linguist-detectable=false