File tree 3 files changed +55
-93
lines changed 3 files changed +55
-93
lines changed Original file line number Diff line number Diff line change
1
+ name : ci
2
+ on :
3
+ - push
4
+ - pull_request
5
+ jobs :
6
+ test :
7
+ name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
8
+ runs-on : ${{ matrix.os }}
9
+ strategy :
10
+ fail-fast : false
11
+ matrix :
12
+ version :
13
+ - ' 1.5'
14
+ - ' 1.0'
15
+ os :
16
+ - ubuntu-latest
17
+ arch :
18
+ - x64
19
+ steps :
20
+ - uses : actions/checkout@v2
21
+ - uses : julia-actions/setup-julia@v1
22
+ with :
23
+ version : ${{ matrix.version }}
24
+ arch : ${{ matrix.arch }}
25
+ - uses : actions/cache@v1
26
+ env :
27
+ cache-name : cache-artifacts
28
+ with :
29
+ path : ~/.julia/artifacts
30
+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
31
+ restore-keys : |
32
+ ${{ runner.os }}-test-${{ env.cache-name }}-
33
+ ${{ runner.os }}-test-
34
+ ${{ runner.os }}-
35
+ - uses : julia-actions/julia-buildpkg@v1
36
+ - uses : julia-actions/julia-runtest@v1
37
+ - uses : julia-actions/julia-processcoverage@v1
38
+ - uses : codecov/codecov-action@v1
39
+ with :
40
+ file : lcov.info
41
+
42
+ build :
43
+ runs-on : ubuntu-latest
44
+ steps :
45
+ - uses : actions/checkout@v2
46
+ - uses : julia-actions/setup-julia@latest
47
+ with :
48
+ version : ' 1.4'
49
+ - name : Install dependencies
50
+ run : julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
51
+ - name : Build and deploy
52
+ env :
53
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
54
+ DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
55
+ run : julia --project=docs/ docs/make.jl
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments