mirror of
https://github.com/status-im/evmc.git
synced 2025-02-23 16:38:06 +00:00
ci: Move "test-docs" job to "lint"
This commit is contained in:
parent
68fbe69799
commit
6555a434db
66
circle.yml
66
circle.yml
@ -70,6 +70,35 @@ jobs:
|
|||||||
bumpversion --dry-run --verbose major
|
bumpversion --dry-run --verbose major
|
||||||
bumpversion --dry-run --verbose minor
|
bumpversion --dry-run --verbose minor
|
||||||
bumpversion --dry-run --verbose patch
|
bumpversion --dry-run --verbose patch
|
||||||
|
- run:
|
||||||
|
name: "Test documentation"
|
||||||
|
command: |
|
||||||
|
cat Doxyfile | sed 's/HTML_OUTPUT = ./HTML_OUTPUT = ..\/docs/' | doxygen - > doxygen.log 2> doxygen.warnings
|
||||||
|
if [ -s doxygen.warnings ]; then
|
||||||
|
printf '\n\nDoxygen warnings:\n\n'
|
||||||
|
cat doxygen.warnings
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
cat doxygen.log
|
||||||
|
- store_artifacts:
|
||||||
|
path: ~/docs
|
||||||
|
destination: docs
|
||||||
|
|
||||||
|
upload-docs:
|
||||||
|
executor: linux
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- run:
|
||||||
|
name: "Generate documentation"
|
||||||
|
command: doxygen Doxyfile
|
||||||
|
- run:
|
||||||
|
name: "Upload documentation"
|
||||||
|
command: |
|
||||||
|
git config user.email "docs-bot@ethereum.org"
|
||||||
|
git config user.name "Documentation Bot"
|
||||||
|
git add --all
|
||||||
|
git commit -m "Update docs"
|
||||||
|
git push -f "https://$GITHUB_TOKEN@github.com/ethereum/evmc.git" HEAD:gh-pages
|
||||||
|
|
||||||
build-cxx17:
|
build-cxx17:
|
||||||
executor: linux
|
executor: linux
|
||||||
@ -105,40 +134,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- build_and_test
|
- build_and_test
|
||||||
|
|
||||||
test-docs:
|
|
||||||
executor: linux
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- run:
|
|
||||||
name: "Test documentation"
|
|
||||||
command: |
|
|
||||||
cat Doxyfile | sed 's/HTML_OUTPUT = ./HTML_OUTPUT = ..\/docs/' | doxygen - > doxygen.log 2> doxygen.warnings
|
|
||||||
if [ -s doxygen.warnings ]; then
|
|
||||||
printf '\n\nDoxygen warnings:\n\n'
|
|
||||||
cat doxygen.warnings
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
cat doxygen.log
|
|
||||||
- store_artifacts:
|
|
||||||
path: ~/docs
|
|
||||||
destination: docs
|
|
||||||
|
|
||||||
upload-docs:
|
|
||||||
executor: linux
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- run:
|
|
||||||
name: "Generate documentation"
|
|
||||||
command: doxygen Doxyfile
|
|
||||||
- run:
|
|
||||||
name: "Upload documentation"
|
|
||||||
command: |
|
|
||||||
git config user.email "docs-bot@ethereum.org"
|
|
||||||
git config user.name "Documentation Bot"
|
|
||||||
git add --all
|
|
||||||
git commit -m "Update docs"
|
|
||||||
git push -f "https://$GITHUB_TOKEN@github.com/ethereum/evmc.git" HEAD:gh-pages
|
|
||||||
|
|
||||||
bindings-go-latest:
|
bindings-go-latest:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/golang
|
- image: circleci/golang
|
||||||
@ -238,10 +233,9 @@ workflows:
|
|||||||
- bindings-rust-asan-combined:
|
- bindings-rust-asan-combined:
|
||||||
requires:
|
requires:
|
||||||
- build-cxx14-asan
|
- build-cxx14-asan
|
||||||
- test-docs
|
|
||||||
- upload-docs:
|
- upload-docs:
|
||||||
requires:
|
requires:
|
||||||
- test-docs
|
- lint
|
||||||
filters:
|
filters:
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user