File tree Expand file tree Collapse file tree 2 files changed +61
-29
lines changed Expand file tree Collapse file tree 2 files changed +61
-29
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 }} - ${{ github.event_name }}
8+ runs-on : ${{ matrix.os }}
9+ strategy :
10+ fail-fast : false
11+ matrix :
12+ version :
13+ - 1.0
14+ - 1
15+ - ' nightly'
16+ os :
17+ - ubuntu-latest
18+ # - macOS-latest
19+ - windows-latest
20+ arch :
21+ - x64
22+ steps :
23+ - uses : actions/checkout@v2
24+ - uses : julia-actions/setup-julia@v1
25+ with :
26+ version : ${{ matrix.version }}
27+ arch : ${{ matrix.arch }}
28+ - uses : actions/cache@v1
29+ env :
30+ cache-name : cache-artifacts
31+ with :
32+ path : ~/.julia/artifacts
33+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
34+ restore-keys : |
35+ ${{ runner.os }}-test-${{ env.cache-name }}-
36+ ${{ runner.os }}-test-
37+ ${{ runner.os }}-
38+ - uses : julia-actions/julia-buildpkg@latest
39+ - uses : julia-actions/julia-runtest@latest
40+ docs :
41+ name : Documentation
42+ runs-on : ubuntu-latest
43+ steps :
44+ - uses : actions/checkout@v2
45+ - uses : julia-actions/setup-julia@v1
46+ with :
47+ version : 1
48+ - run : |
49+ julia --project=docs -e '
50+ using Pkg
51+ Pkg.develop(PackageSpec(path=pwd()))
52+ Pkg.instantiate()'
53+ - run : |
54+ julia --project=docs -e '
55+ using Documenter: doctest
56+ using Setfield
57+ doctest(Setfield)'
58+ - run : julia --project=docs docs/make.jl
59+ env :
60+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
61+ DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments