diff --git a/.cirrus.yml b/.cirrus.yml index 8f8caad..6d7270c 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -1,7 +1,11 @@ -freebsd_instance: - image: freebsd-13-0-release-amd64 task: - name: FreeBSD + matrix: + - name: FreeBSD + freebsd_instance: + image_family: freebsd-13-1 + - name: Linux ARMv8 + arm_container: + image: ubuntu:latest env: matrix: - JULIA_VERSION: 1.3 @@ -12,11 +16,25 @@ task: - JULIA_VERSION: 1 - JULIA_VERSION: nightly allow_failures: $JULIA_VERSION == 'nightly' - install_script: - - sh -c "$(fetch https://raw.githubusercontent.com/ararslan/CirrusCI.jl/master/bin/install.sh -o -)" + install_script: | + URL="https://raw.githubusercontent.com/ararslan/CirrusCI.jl/master/bin/install.sh" + set -x + if command -v apt; then + apt update + apt install -y curl + fi + if [ ! -z "$(which curl)" ]; then + sh -c "$(curl ${URL})" + elif [ ! -z "$(which wget)" ]; then + sh -c "$(wget ${URL} -O-)" + elif command -v fetch; then + sh -c "$(fetch ${URL} -o -)" + else + echo "No downloader installed! :( Install one! :)" + fi build_script: - cirrusjl build test_script: - cirrusjl test coverage_script: - - cirrusjl coverage codecov coveralls + - cirrusjl coverage codecov diff --git a/.drone.jsonnet b/.drone.jsonnet deleted file mode 100644 index 84c1055..0000000 --- a/.drone.jsonnet +++ /dev/null @@ -1,30 +0,0 @@ -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"), - Pipeline("linux", "arm", "1.4.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 deleted file mode 100644 index f3b0651..0000000 --- a/.drone.yml +++ /dev/null @@ -1,101 +0,0 @@ ---- -kind: pipeline -name: linux - arm - Julia 1.3 - -platform: - os: linux - arch: arm - -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 - arm - Julia 1.4.1 - -platform: - os: linux - arch: arm - -steps: -- name: Run tests - image: julia:1.4.1 - 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.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 - ---- -kind: pipeline -name: linux - amd64 - Julia 1.6 (Alpine) - -platform: - os: linux - arch: amd64 - -steps: -- name: Run tests - image: julia:1.6-alpine - 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 - -...