From 98326ccb43ec9cb626eab2fcd27f65f770a31c8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mos=C3=A8=20Giordano?= Date: Fri, 4 Jun 2021 00:21:10 +0100 Subject: [PATCH] Run CI on aarch64 with Drone --- .drone.jsonnet | 30 ++++++++++++++++++++++++++++++ .drone.yml | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 .drone.jsonnet create mode 100644 .drone.yml diff --git a/.drone.jsonnet b/.drone.jsonnet new file mode 100644 index 000000000..a9b344061 --- /dev/null +++ b/.drone.jsonnet @@ -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) +] diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 000000000..173c67797 --- /dev/null +++ b/.drone.yml @@ -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 + +...