-
Notifications
You must be signed in to change notification settings - Fork 36
90 lines (86 loc) · 4.51 KB
/
build-check.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
name: Docs Build Test
on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
repository: matusnovak/doxybook2
path: ./doxy
- name: Download Japanese fonts
run: curl -LO https://github.com/googlefonts/noto-cjk/blob/main/Sans/OTF/Japanese/NotoSansCJKjp-Black.otf && curl -LO https://github.com/googlefonts/noto-cjk/blob/main/Sans/OTF/Japanese/NotoSansCJKjp-Bold.otf && curl -LO https://github.com/googlefonts/noto-cjk/blob/main/Sans/OTF/Japanese/NotoSansCJKjp-DemiLight.otf && curl -LO https://github.com/googlefonts/noto-cjk/blob/main/Sans/OTF/Japanese/NotoSansCJKjp-Light.otf && curl -LO https://github.com/googlefonts/noto-cjk/blob/main/Sans/OTF/Japanese/NotoSansCJKjp-Medium.otf && curl -LO https://github.com/googlefonts/noto-cjk/blob/main/Sans/OTF/Japanese/NotoSansCJKjp-Regular.otf && curl -LO https://github.com/googlefonts/noto-cjk/blob/main/Sans/OTF/Japanese/NotoSansCJKjp-Thin.otf
- name: Install Japanese fonts
run: sudo mkdir -p /usr/local/share/fonts; sudo cp NotoSans* /usr/local/share/fonts/. && sudo fc-cache -f -v
- name: wget vcpkg
working-directory: ./doxy
run: wget -O vcpkg.tar.gz https://github.com/microsoft/vcpkg/archive/master.tar.gz
- name: mkdir vcpkg
working-directory: ./doxy
run: sudo mkdir /opt/vcpkg
- name: tar vcpkg
working-directory: ./doxy
run: sudo tar xf vcpkg.tar.gz --strip-components=1 -C /opt/vcpkg
- name: build vcpkg
working-directory: ./doxy
run: sudo /opt/vcpkg/bootstrap-vcpkg.sh
- name: Doxybook depenecies
working-directory: ./doxy
run: vcpkg install --triplet x64-linux $(cat vcpkg.txt)
- name: doxy mkdir build
working-directory: ./doxy
run: mkdir build
- name: doxy cmake setup
working-directory: ./doxy
run: cmake -B ./build -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_TOOLCHAIN_FILE=/usr/local/share/vcpkg/scripts/buildsystems/vcpkg.cmake .
- name: doxy cmake
working-directory: ./doxy
run: cmake --build ./build --config MinSizeRel
- name: doxybook2 add to path
working-directory: ./doxy
run: cp build/src/DoxybookCli/doxybook2 ../..
- uses: actions/checkout@master
- name: Update apt sources
run: sudo apt-get update
- name: Install Dependencies
run: sudo apt install pandoc texlive-full mkdocs doxygen
- name: wolfssl html
run: cd wolfSSL && export PATH=$PATH:"/home/runner/work/documentation" && make html
- name: wolfssl pdf
run: cd wolfSSL && export PATH=$PATH:"/home/runner/work/documentation" && make pdf
- name: wolfssh html
run: cd wolfSSH && export PATH=$PATH:"/home/runner/work/documentation" && make html
- name: wolfssh pdf
run: cd wolfSSH && export PATH=$PATH:"/home/runner/work/documentation" && make pdf
- name: wolftpm html
run: cd wolfTPM && export PATH=$PATH:"/home/runner/work/documentation" && make html
- name: wolfTPM pdf
run: cd wolfTPM && export PATH=$PATH:"/home/runner/work/documentation" && make pdf
- name: wolfmqtt html
run: cd wolfMQTT && export PATH=$PATH:"/home/runner/work/documentation" && make html
- name: wolfmqtt pdf
run: cd wolfMQTT && export PATH=$PATH:"/home/runner/work/documentation" && make pdf
- name: wolfBoot html
run: cd wolfBoot && export PATH=$PATH:"/home/runner/work/documentation" && make html
- name: wolfBoot pdf
run: cd wolfBoot && export PATH=$PATH:"/home/runner/work/documentation" && make pdf
- name: wolfSentry html
run: cd wolfSentry && export PATH=$PATH:"/home/runner/work/documentation" && make html
- name: wolfSentry pdf
run: cd wolfSentry && export PATH=$PATH:"/home/runner/work/documentation" && make pdf
- name: wolfclu html
run: cd wolfCLU && export PATH=$PATH:"/home/runner/work/documentation" && make html
- name: wolfclu pdf
run: cd wolfCLU && export PATH=$PATH:"/home/runner/work/documentation" && make pdf
- name: wolfssl-jni html
run: cd wolfSSL-JNI && export PATH=$PATH:"/home/runner/work/documentation" && make html
- name: wolfssl-jni pdf
run: cd wolfSSL-JNI && export PATH=$PATH:"/home/runner/work/documentation" && make pdf
- name: wolfcrypt-jni html
run: cd wolfCrypt-JNI && export PATH=$PATH:"/home/runner/work/documentation" && make html
- name: wolfcrypt-jni pdf
run: cd wolfCrypt-JNI && export PATH=$PATH:"/home/runner/work/documentation" && make pdf