|
41 | 41 |
|
42 | 42 | - name: Install Mermaid |
43 | 43 | run: | |
44 | | - sudo npm install -g @mermaid-js/[email protected] |
| 44 | + sudo npm install -g @mermaid-js/[email protected] |
| 45 | + npx puppeteer browsers install chrome-headless-shell |
45 | 46 |
|
46 | 47 | - name: Install asciidoctor |
47 | 48 | run: | |
@@ -75,32 +76,32 @@ jobs: |
75 | 76 | run: | |
76 | 77 | pip install mypy black |
77 | 78 |
|
78 | | - - name: Restore CPM cache |
79 | | - env: |
80 | | - cache-name: cpm-cache-0 |
81 | | - id: cpm-cache-restore |
82 | | - uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 |
83 | | - with: |
84 | | - path: ~/cpm-cache |
85 | | - key: ${{runner.os}}-${{env.cache-name}}-${{ hashFiles('**/CMakeLists.txt', 'cmake/**') }} |
86 | | - restore-keys: | |
87 | | - ${{runner.os}}-${{env.cache-name}}- |
88 | | -
|
89 | 79 | - name: Configure cmake for lib |
90 | 80 | env: |
91 | 81 | CC: "/usr/lib/llvm-${{env.TARGET_LLVM_VERSION}}/bin/clang" |
92 | 82 | CXX: "/usr/lib/llvm-${{env.TARGET_LLVM_VERSION}}/bin/clang++" |
93 | 83 | PR_TARGET_BRANCH: ${{ steps.target_branch.outputs.branch }} |
94 | 84 | working-directory: ${{github.workspace}}/test/library |
95 | | - run: cmake -Bbuild -DCPM_SOURCE_CACHE=~/cpm-cache |
| 85 | + run: cmake -Bbuild |
96 | 86 |
|
97 | 87 | - name: Check lib quality |
98 | 88 | working-directory: ${{github.workspace}}/test/library |
99 | 89 | run: cmake --build build -t ci-quality |
100 | 90 |
|
101 | 91 | - name: Build lib docs |
102 | 92 | working-directory: ${{github.workspace}}/test/library |
103 | | - run: cmake --build build -t docs |
| 93 | + run: test $(cmake --build build -v -t docs | grep -c ERROR) == 0 |
| 94 | + |
| 95 | + - name: Restore CPM cache |
| 96 | + env: |
| 97 | + cache-name: cpm-cache-0 |
| 98 | + id: cpm-cache-restore |
| 99 | + uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 |
| 100 | + with: |
| 101 | + path: ~/cpm-cache |
| 102 | + key: ${{runner.os}}-${{env.cache-name}}-${{ hashFiles('**/CMakeLists.txt', 'cmake/**') }} |
| 103 | + restore-keys: | |
| 104 | + ${{runner.os}}-${{env.cache-name}}- |
104 | 105 |
|
105 | 106 | - name: Configure cmake for app |
106 | 107 | env: |
|
0 commit comments