Skip to content

Commit

Permalink
Merge pull request #39 from giordano/mg/ci
Browse files Browse the repository at this point in the history
Some improvements to CI
  • Loading branch information
IanButterworth authored Oct 17, 2020
2 parents ac20d2d + 623cf6b commit c626292
Show file tree
Hide file tree
Showing 7 changed files with 86 additions and 20 deletions.
6 changes: 6 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,21 @@ platform:
matrix:
allow_failures:
- julia_version: nightly

branches:
only:
- master
- /release-.*/

cache:
- '%USERPROFILE%\.julia\artifacts'

notifications:
- provider: Email
on_build_success: false
on_build_failure: false
on_build_status_changed: false

install:
- ps: iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1"))
build_script:
Expand Down
16 changes: 0 additions & 16 deletions .cirrus.yml

This file was deleted.

9 changes: 7 additions & 2 deletions .drone.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,15 @@ local Pipeline(os, arch, version) = {
"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", "arm", "1.4.1"),
Pipeline("linux", "arm64", "1.3"),
Pipeline("linux", "arm64", "1.5")
]
44 changes: 44 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,28 @@ 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 - arm - Julia 1.4.1

platform:
os: linux
arch: arm

steps:
- name: build
image: julia:1.4.1
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
Expand All @@ -26,4 +48,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

...
12 changes: 11 additions & 1 deletion .github/workflows/RunTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,15 @@ jobs:
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.julia-version }}
- name: Cache artifacts
uses: actions/cache@v1
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-runtest@master

2 changes: 1 addition & 1 deletion .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: TagBot
on:
schedule:
- cron: 0 * * * *
- cron: 35 18 * * *
jobs:
TagBot:
runs-on: ubuntu-latest
Expand Down
17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ language: julia
os:
- linux
- osx
- freebsd
# We cannot test FFMPEG on Windows because of
# https://travis-ci.community/t/any-chance-of-providing-an-environment-with-desktop-experience/1024
# - windows
Expand All @@ -12,15 +13,20 @@ arch:
- arm64
julia:
- 1.3
- 1
- nightly
matrix:
allow_failures:
- julia: nightly
exclude:
- os: osx
arch: x86
- os: freebsd
arch: x86
- os: osx
arch: arm64
- os: freebsd
arch: arm64
# - os: windows
# arch: arm64
- julia: nightly
Expand All @@ -30,3 +36,14 @@ notifications:
email: false
after_success:
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'

branches:
only:
- master
- gh-pages # For building documentation
- /^testing-.*$/ # testing branches
- /^v[0-9]+\.[0-9]+\.[0-9]+$/ # version tags

cache:
directories:
- $HOME/.julia/artifacts

0 comments on commit c626292

Please sign in to comment.