File tree Expand file tree Collapse file tree 1 file changed +6
-53
lines changed
Expand file tree Collapse file tree 1 file changed +6
-53
lines changed Original file line number Diff line number Diff line change 11name : Docs
2-
32on :
43 pull_request :
54 push :
65 branches : [main]
76 tags :
87 - ' *'
98 merge_group :
10-
11- env :
12- BUILD_GSL : true
13- COMMIT_EMAIL : ben.jeffery.well+adminbot@gmail.com
14- MAKE_TARGET : cmodule
15- OWNER : tskit-dev
16- REPO : msprime
17-
189jobs :
19- build-deploy-docs :
20- name : Docs
21- runs-on : ubuntu-24.04
22- steps :
23- - name : Cancel Previous Runs
24- uses : styfle/cancel-workflow-action@0.12.1
25- with :
26- access_token : ${{ github.token }}
27-
28- - uses : actions/checkout@v4.2.2
29- with :
30- submodules : true
31-
32- - uses : actions/setup-python@v5.4.0
33- with :
34- python-version : " 3.12"
35- cache : " pip"
36-
37- - name : Create venv and install deps (one by one to avoid conflict errors)
38- run : |
39- pip install --upgrade pip wheel
40- pip install -r requirements/CI-docs/requirements.txt
41-
42- - name : Install GSL
43- if : env.BUILD_GSL == 'true'
44- run : sudo apt-get install -y libgsl0-dev
45-
46- - name : Build C module
47- if : env.MAKE_TARGET
48- run : |
49- make $MAKE_TARGET
50-
51- - name : Build Docs
52- run : |
53- cd docs
54- make
55-
56- - name : Trigger docs site rebuild
57- if : github.ref == 'refs/heads/main'
58- run : |
59- curl -X POST https://api.github.com/repos/tskit-dev/tskit-site/dispatches \
60- -H 'Accept: application/vnd.github.everest-preview+json' \
61- -u AdminBot-tskit:${{ secrets.ADMINBOT_TOKEN }} \
62- --data '{"event_type":"build-docs"}'
10+ Docs :
11+ uses : tskit-dev/.github/.github/workflows/docs-build-template.yml@main
12+ with :
13+ requirements-path : requirements/CI-docs/requirements.txt
14+ additional-setup : sudo apt-get install -y libgsl0-dev
15+ make-command : make cmodule
You can’t perform that action at this time.
0 commit comments