|
35 | 35 | platforms:
|
36 | 36 | description: 'Platform(s) to execute on (comma separated, e.g. "linux-x64, macos, aarch64")'
|
37 | 37 | required: true
|
38 |
| - default: 'linux-x64, linux-x86, linux-x64-variants, linux-cross-compile, macos-x64, macos-aarch64, windows-x64, windows-aarch64' |
| 38 | + default: 'linux-x64, linux-x86, linux-x64-variants, linux-cross-compile, macos-x64, macos-aarch64, windows-x64, windows-aarch64, docs' |
39 | 39 | configure-arguments:
|
40 | 40 | description: 'Additional configure arguments'
|
41 | 41 | required: false
|
|
65 | 65 | macos-aarch64: ${{ steps.include.outputs.macos-aarch64 }}
|
66 | 66 | windows-x64: ${{ steps.include.outputs.windows-x64 }}
|
67 | 67 | windows-aarch64: ${{ steps.include.outputs.windows-aarch64 }}
|
| 68 | + docs: ${{ steps.include.outputs.docs }} |
68 | 69 |
|
69 | 70 | steps:
|
70 | 71 | # This function must be inlined in main.yml, or we'd be forced to checkout the repo
|
@@ -116,6 +117,7 @@ jobs:
|
116 | 117 | echo "macos-aarch64=$(check_platform macos-aarch64 macos aarch64)" >> $GITHUB_OUTPUT
|
117 | 118 | echo "windows-x64=$(check_platform windows-x64 windows x64)" >> $GITHUB_OUTPUT
|
118 | 119 | echo "windows-aarch64=$(check_platform windows-aarch64 windows aarch64)" >> $GITHUB_OUTPUT
|
| 120 | + echo "docs=$(check_platform docs)" >> $GITHUB_OUTPUT |
119 | 121 |
|
120 | 122 | ###
|
121 | 123 | ### Build jobs
|
@@ -276,6 +278,23 @@ jobs:
|
276 | 278 | make-arguments: ${{ github.event.inputs.make-arguments }}
|
277 | 279 | if: needs.select.outputs.windows-aarch64 == 'true'
|
278 | 280 |
|
| 281 | + build-docs: |
| 282 | + name: docs |
| 283 | + needs: select |
| 284 | + uses: ./.github/workflows/build-linux.yml |
| 285 | + with: |
| 286 | + platform: linux-x64 |
| 287 | + debug-levels: '[ "debug" ]' |
| 288 | + make-target: 'docs-jdk-bundles' |
| 289 | + # Make sure we never try to make full docs, since that would require a |
| 290 | + # build JDK, and we do not need the additional testing of the graphs. |
| 291 | + extra-conf-options: '--disable-full-docs' |
| 292 | + gcc-major-version: '10' |
| 293 | + apt-gcc-version: '10.4.0-4ubuntu1~22.04' |
| 294 | + configure-arguments: ${{ github.event.inputs.configure-arguments }} |
| 295 | + make-arguments: ${{ github.event.inputs.make-arguments }} |
| 296 | + if: needs.select.outputs.docs == 'true' |
| 297 | + |
279 | 298 | ###
|
280 | 299 | ### Test jobs
|
281 | 300 | ###
|
|
0 commit comments