Skip to content

Commit fd6ab4e

Browse files
authored
Merge pull request #211 from maleadt/tb/ga
Migrate to GitHub Actions.
2 parents 64bfc37 + 27918f7 commit fd6ab4e

File tree

3 files changed

+78
-72
lines changed

3 files changed

+78
-72
lines changed

.appveyor.yml

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

.github/workflows/ci.yml

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
jobs:
8+
test:
9+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
10+
runs-on: ${{ matrix.os }}
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
version:
15+
- '1.0'
16+
- '1.1'
17+
- '1.2'
18+
- '1.3'
19+
- '1.4'
20+
- '1.5'
21+
# - 'nightly'
22+
os:
23+
- ubuntu-latest
24+
- macOS-latest
25+
- windows-latest
26+
arch:
27+
- x64
28+
steps:
29+
- uses: actions/checkout@v2
30+
- uses: julia-actions/setup-julia@v1
31+
with:
32+
version: ${{ matrix.version }}
33+
arch: ${{ matrix.arch }}
34+
- uses: actions/cache@v1
35+
env:
36+
cache-name: cache-artifacts
37+
with:
38+
path: ~/.julia/artifacts
39+
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
40+
restore-keys: |
41+
${{ runner.os }}-test-${{ env.cache-name }}-
42+
${{ runner.os }}-test-
43+
${{ runner.os }}-
44+
- uses: julia-actions/julia-buildpkg@latest
45+
- run: |
46+
git config --global user.name Tester
47+
git config --global user.email [email protected]
48+
- uses: julia-actions/julia-runtest@latest
49+
- uses: julia-actions/julia-processcoverage@v1
50+
- uses: codecov/codecov-action@v1
51+
with:
52+
file: lcov.info
53+
docs:
54+
name: Documentation
55+
runs-on: ubuntu-latest
56+
steps:
57+
- uses: actions/checkout@v2
58+
- uses: julia-actions/setup-julia@v1
59+
with:
60+
version: '1'
61+
- run: |
62+
git config --global user.name name
63+
git config --global user.email email
64+
git config --global github.user username
65+
- run: |
66+
julia --project=docs -e '
67+
using Pkg
68+
Pkg.develop(PackageSpec(path=pwd()))
69+
Pkg.instantiate()'
70+
- run: |
71+
julia --project=docs -e '
72+
using Documenter: doctest
73+
using LLVM
74+
doctest(LLVM)'
75+
- run: julia --project=docs docs/make.jl
76+
env:
77+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
78+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}

.travis.yml

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

0 commit comments

Comments
 (0)