Skip to content

Commit 54779da

Browse files
authored
Merge pull request #14 from andyferris/ajf/github-actions
Update CI to use github actions, add CompatHelper
2 parents db749b4 + 6cdd681 commit 54779da

File tree

6 files changed

+79
-86
lines changed

6 files changed

+79
-86
lines changed

.github/workflows/CompatHelper.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
name: CompatHelper
3+
4+
on:
5+
schedule:
6+
- cron: '00 00 * * *'
7+
8+
jobs:
9+
CompatHelper:
10+
runs-on: ${{ matrix.os }}
11+
strategy:
12+
matrix:
13+
julia-version: [1]
14+
julia-arch: [x64]
15+
os: [ubuntu-latest]
16+
steps:
17+
- uses: julia-actions/setup-julia@latest
18+
with:
19+
version: ${{ matrix.julia-version }}
20+
- name: Pkg.add("CompatHelper")
21+
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
22+
- name: CompatHelper.main()
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }}
26+
run: julia -e 'using CompatHelper; CompatHelper.main()'

.github/workflows/test.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Test
2+
on:
3+
push:
4+
branches:
5+
- master
6+
tags: '*'
7+
pull_request:
8+
jobs:
9+
test:
10+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
11+
runs-on: ${{ matrix.os }}
12+
continue-on-error: ${{ matrix.version == 'nightly' }}
13+
strategy:
14+
matrix:
15+
version:
16+
- '1.0'
17+
- '1.1'
18+
- '1.2'
19+
- '1.3'
20+
- '1.4'
21+
- 'nightly'
22+
os:
23+
- ubuntu-latest
24+
- macOS-latest
25+
- windows-latest
26+
arch:
27+
- x86
28+
- x64
29+
exclude:
30+
# Remove some configurations from the build matrix to reduce CI time.
31+
# See https://github.com/marketplace/actions/setup-julia-environment
32+
# MacOS not available on x86
33+
- {os: 'macOS-latest', arch: 'x86'}
34+
# Don't test on all versions
35+
- {os: 'macOS-latest', version: '1.1'}
36+
- {os: 'macOS-latest', version: '1.2'}
37+
- {os: 'macOS-latest', version: '1.3'}
38+
- {os: 'windows-latest', version: '1.1'}
39+
- {os: 'windows-latest', version: '1.2'}
40+
- {os: 'windows-latest', version: '1.3'}
41+
steps:
42+
- uses: actions/checkout@v1
43+
- uses: julia-actions/setup-julia@latest
44+
with:
45+
version: ${{ matrix.version }}
46+
arch: ${{ matrix.arch }}
47+
- uses: julia-actions/julia-buildpkg@latest
48+
- uses: julia-actions/julia-runtest@latest
49+
- uses: julia-actions/julia-uploadcodecov@latest
50+
env:
51+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

.travis.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

Project.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
authors = ["Andy Ferris <ferris.andy@gmail.com>"]
22
name = "AcceleratedArrays"
33
uuid = "44e12807-9a19-5591-91cf-c1b4fb89ce64"
4-
version = "0.3.0"
4+
version = "0.3.1"
55

66
[deps]
77
SplitApplyCombine = "03a91e81-4c3e-53e1-a0a4-9c0c8f19dd66"
88
Dictionaries = "85a47980-9c8c-11e8-2b9f-f7ca1fa99fb4"
99

10-
[compat]
11-
SplitApplyCombine = "0.4"
12-
julia = "1"
13-
1410
[extras]
1511
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1612

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
*Arrays with acceleration indices.*
44

5-
[![Build Status](https://travis-ci.org/andyferris/AcceleratedArrays.jl.svg?branch=master)](https://travis-ci.org/andyferris/AcceleratedArrays.jl)
6-
[![Build status](https://ci.appveyor.com/api/projects/status/9qwb219wpdm3dg3c?svg=true)](https://ci.appveyor.com/project/andyferris/acceleratedarrays-jl)
5+
![Test Status](https://github.com/andyferris/AcceleratedArrays.jl/workflows/Test/badge.svg)
76
[![codecov](https://codecov.io/gh/andyferris/AcceleratedArrays.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/andyferris/AcceleratedArrays.jl)
87

98
**AcceleratedArrays** provides (secondary) acceleration indexes for Julia `AbstractArray`s. Such

appveyor.yml

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)