forked from xwang2713/hpcc-build
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (38 loc) · 1.14 KB
/
build-docs.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
# File: .github/workflows/build-docs.yml
on:
push:
branches:
- "master"
name: Build-Documentation
jobs:
build:
name: build-docs
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Provision the build server
uses: ./
- name: Checkout HPCC Platform
uses: actions/checkout@v2
with:
repository: g-pan/HPCC-Platform
path: HPCC-Platform
ref: community_7.12.24-1
submodules: true
- name: build
run: |
mkdir build
cd build
cmake -G "Unix Makefiles" -D CMAKE_BUILD_TYPE=Release -DMAKE_DOCS_ONLY=ON -DUSE_NATIVE_LIBRARIES=ON -DDOCS_AUTO=ON -DDOC_LANGS=ALL ../HPCC-Platform
make -j4
mkdir /home/runner/output
pwd
cp ./docs/EN_US/HTMLHelp/*.zip /home/runner/output/
cp ./docs/PT_BR/HTMLHelp/*.zip /home/runner/output/
- name: upload-artifact
uses: actions/upload-artifact@v2
with:
name: html-help-7.12.24-1
path: |
/home/runner/output/*