forked from FISCO-BCOS/FISCO-BCOS-DOC
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (38 loc) · 898 Bytes
/
workflow.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
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