File tree 1 file changed +18
-5
lines changed
1 file changed +18
-5
lines changed Original file line number Diff line number Diff line change 13
13
name : Building pgcore & bindings
14
14
runs-on : self-hosted
15
15
steps :
16
- - uses : actions/checkout@v4
16
+ - name : Clean-up
17
+ run : rm -rf ~/.cache/pygimli
18
+ - name : Getting pyGIMLi sources
19
+ uses : actions/checkout@v4
17
20
with :
18
21
fetch-depth : 0 # checks out all branches and tags
19
22
path : source
@@ -48,12 +51,14 @@ jobs:
48
51
env :
49
52
DISPLAY : " :99.0"
50
53
PYVISTA_OFF_SCREEN : True
54
+ OPENBLAS_CORETYPE : " ARMV8" # current bug in OpenBlas core detection
51
55
steps :
52
- - name : Set up headless display
53
- uses : pyvista/setup-headless-display-action@v2
56
+ - name : Clean gallery
57
+ working-directory : build
58
+ run : make clean-gallery
54
59
- name : Running sphinx
55
60
working-directory : build
56
- run : make doc
61
+ run : xvfb-run make doc # xvfb is necessary for headless display of pyvista plots
57
62
merging :
58
63
name : Merging dev into master
59
64
runs-on : self-hosted
66
71
type : now
67
72
target_branch : master
68
73
github_token : ${{ secrets.GITHUB_TOKEN }}
69
-
74
+ upload-html :
75
+ name : Upload HTML to dev.pygimli.org
76
+ runs-on : self-hosted
77
+ needs : docs
78
+ if : github.ref == 'refs/heads/dev' # Only merge from dev
79
+ steps :
80
+ - name : Merge into master
81
+ working-directory : build
82
+ run : rsync -avP --delete doc/html ~/dev.pygimli.org
70
83
71
84
You can’t perform that action at this time.
0 commit comments