Skip to content

Commit

Permalink
Remove ARM 32-bit jobs from drone (#154)
Browse files Browse the repository at this point in the history
32-bit systems are now tested with GitHub actions, and the armv7l job for Julia
v1.7 is stalling for unrelated reasons.

Also, run Drone CI only on `master` branch, to avoid duplicate jobs in pull
requests.
  • Loading branch information
giordano authored Mar 23, 2022
1 parent 213d487 commit e3c133d
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 47 deletions.
33 changes: 18 additions & 15 deletions .drone.jsonnet
Original file line number Diff line number Diff line change
@@ -1,24 +1,27 @@
local Pipeline(os, arch, version) = {
local Pipeline(os, arch, version, alpine=false) = {
kind: "pipeline",
name: os+" - "+arch+" - Julia "+version,
name: os+" - "+arch+" - Julia "+version+(if alpine then " (Alpine)" else ""),
platform: {
os: os,
arch: arch
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)'"
]
}
]
{
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"),
Pipeline("linux", "arm", "1.4"),
Pipeline("linux", "arm64", "1.3"),
Pipeline("linux", "arm64", "1.4")
Pipeline("linux", "arm64", "1.7.2")
]
48 changes: 16 additions & 32 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,3 @@
---
kind: pipeline
name: linux - arm - Julia 1.3

platform:
os: linux
arch: arm

steps:
- name: build
image: julia:1.3
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 1.7.2

platform:
os: linux
arch: arm

steps:
- name: build
image: julia:1.7.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 1.3
Expand All @@ -35,10 +7,16 @@ platform:
arch: arm64

steps:
- name: build
- name: Run tests
image: julia:1.3
commands:
- "julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'"
- "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
Expand All @@ -49,9 +27,15 @@ platform:
arch: arm64

steps:
- name: build
- name: Run tests
image: julia:1.7.2
commands:
- "julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'"
- "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

...

0 comments on commit e3c133d

Please sign in to comment.