File tree Expand file tree Collapse file tree 3 files changed +24
-13
lines changed Expand file tree Collapse file tree 3 files changed +24
-13
lines changed Original file line number Diff line number Diff line change
1
+ name : Documentation
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ tags : ' *'
8
+ pull_request :
9
+
10
+ jobs :
11
+ docs-build :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v2
15
+ - name : Install dependencies
16
+ run : julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate(); Pkg.build(;verbose=true)'
17
+ - name : Build and deploy
18
+ env :
19
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
20
+ run : julia --project=docs/ docs/make.jl
Original file line number Diff line number Diff line change @@ -82,18 +82,8 @@ before_install:
82
82
jobs :
83
83
include :
84
84
- stage : " Tests" # implicit first stage
85
- - stage : " Documentation"
86
- julia : 1.0
87
- os : linux
88
- script :
89
- - export DOCUMENTER_DEBUG="true"
90
- - julia --color=yes --project=docs/ -e 'using Pkg;
91
- Pkg.develop(PackageSpec(path=pwd()));
92
- Pkg.instantiate();
93
- Pkg.build()'
94
- - julia --color=yes --project=docs/ docs/make.jl
95
85
- stage : " Coverage"
96
- julia : 1.0
86
+ julia : 1.4
97
87
os : linux
98
88
after_success : # Intentionally rerun tests
99
89
- julia -e 'using Pkg; cd(Pkg.dir("MPI")); Pkg.add("Coverage")'
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ for (example_title, example_md) in EXAMPLES
27
27
println (mdfile, " ```" )
28
28
println (mdfile, " > mpiexec -n 3 julia $example_jl " )
29
29
cd (@__DIR__ ) do
30
- write (mdfile, read (` $(MPI . mpiexec_path) -n 3 $(joinpath (Sys . BINDIR, Base. julia_exename ())) --project $example_jl ` ))
30
+ write (mdfile, mpiexec (cmd -> read (` $cmd -n 3 $(Base. julia_cmd ()) --project $example_jl ` ) ))
31
31
end
32
32
println (mdfile, " ```" )
33
33
end
@@ -63,5 +63,6 @@ makedocs(
63
63
)
64
64
65
65
deploydocs (
66
- repo = " github.com/JuliaParallel/MPI.jl.git"
66
+ repo = " github.com/JuliaParallel/MPI.jl.git" ,
67
+ push_preview = true ,
67
68
)
You can’t perform that action at this time.
0 commit comments