logo of FISCO BCOS add version #2749
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: FISCO-BCOS-DOC | |
on: | |
push: | |
branches-ignore: | |
- "**-1.3" | |
- "**-1.5" | |
tags-ignore: | |
- v1.* | |
paths-ignore: | |
- "Changelog.md" | |
- "README.md" | |
pull_request: | |
# branches: | |
# - '**' | |
release: | |
types: [published, created, edited] | |
jobs: | |
build: | |
name: build | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 5 | |
- name: install Ubuntu dependencies | |
if: runner.os == 'Linux' | |
run: sudo apt install -y git curl openssl python3-setuptools | |
- name: configure | |
run: python --version && pip3 install -r requirements.txt | |
- name: compile 2.x | |
run: cd 2.x/ && make html | |
- name: compile 3.x | |
run: cd 3.x/zh_CN/ && make html | |
- name: run tests | |
run: bash .ci/ci_check.sh |