Skip to content

Commit cb796dd

Browse files
authored
Add .circleci/config.yml (AtsushiSakai#359)
* Add .circleci/config.yml * try doc build * try doc build * try doc build * try doc build * try doc build * try doc build * try doc build
1 parent 4c5e3cc commit cb796dd

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

.circleci/artifact_path

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0/html/index.html

.circleci/config.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
version: 2.1
2+
3+
orbs:
4+
python: circleci/[email protected]
5+
6+
jobs:
7+
build_doc:
8+
executor: python/default
9+
steps:
10+
- checkout
11+
- python/load-cache
12+
- python/install-deps
13+
- python/save-cache
14+
- run: pip install sphinx sphinx-autobuild sphinx-rtd-theme
15+
- run:
16+
command: cd docs;make html
17+
name: doc_build
18+
- store_artifacts:
19+
path: docs/_build/html/
20+
destination: html
21+
22+
workflows:
23+
main:
24+
jobs:
25+
- build_doc

.github/workflows/Linux_CI.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,17 @@ jobs:
4343
find SLAM -name "*.py" | xargs mypy
4444
- name: do diff style check
4545
run: bash rundiffstylecheck.sh
46+
- name: run-circleci-artifacts-redirector
47+
uses: larsoner/[email protected]
48+
with:
49+
repo-token: ${{ secrets.GITHUB_TOKEN }}
50+
artifact-path: 0/html/index.html
51+
circleci-jobs: build_doc
4652
- name: do all unit tests
4753
run: bash runtests.sh
4854
- name: Codecov
4955
uses: codecov/[email protected]
5056

5157

5258

59+

0 commit comments

Comments
 (0)