-
Notifications
You must be signed in to change notification settings - Fork 0
82 lines (67 loc) · 1.86 KB
/
doc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
name: "Build documentation"
on:
push:
branches:
- add_ci
jobs:
build_doc:
runs-on: ubuntu-latest
permissions:
contents: read # to fetch code (actions/checkout)
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Checkout QBinDiff
uses: actions/checkout@v4
with:
repository: quarkslab/qbindiff
path: qbindiff
- name: Checkout python-binexport
uses: actions/checkout@v4
with:
repository: quarkslab/python-binexport
path: python-binexport
- name: Checkout idascript
uses: actions/checkout@v4
with:
repository: quarkslab/idascript
path: idascript
- name: Checkout python-bindiff
uses: actions/checkout@v4
with:
repository: quarkslab/python-bindiff
path: python-bindiff
- name: Checkout quokka
uses: actions/checkout@v4
with:
repository: quarkslab/quokka
path: quokka
- name: "Set up Python"
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: "Install Python dependencies"
run: |
pip install -r requirements.txt
pip install enum-tools[sphinx]
pip install docutils==0.20.1
- name: "Build Sphinx Doc"
run: make html
- uses: actions/upload-artifact@v3
with:
name: doc-pages
path: ./doc/_build/html
# deploy:
# runs-on: ubuntu-latest
# permissions:
# contents: write
# steps:
# - uses: actions/download-artifact@v3
# with:
# name: doc-pages
# path: ./doc/_build/html
# - name: "Deploy Github Pages"
# uses: JamesIves/github-pages-deploy-action@v4
# with:
# BRANCH: gh-pages
# FOLDER: doc/_build/html/