Skip to content

Commit

Permalink
HPCC-31462-LIBXML2 Add option to manually test docs build
Browse files Browse the repository at this point in the history
Signed-off-by: Gordon Smith <[email protected]>
  • Loading branch information
GordonSmith committed Mar 25, 2024
1 parent 3270ca6 commit 025e159
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .github/workflows/build-vcpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ on:
description: 'Operating System'
required: false
default: 'ubuntu-22.04'
docs:
type: boolean
description: 'Build Documentation (skips platform build)'
required: false
default: false
ln:
type: boolean
description: 'Internal Build'
Expand Down Expand Up @@ -48,7 +53,7 @@ on:
jobs:

build-workflow-dispatch:
if: ${{ contains('workflow_dispatch', github.event_name) }}
if: ${{ contains('workflow_dispatch', github.event_name) && inputs.docs != true }}
uses: ./.github/workflows/build-docker.yml
with:
os: ${{ inputs.os }}
Expand All @@ -57,6 +62,17 @@ jobs:
asset-name: 'docker-package'
secrets: inherit

build-workflow-dispatch-docs:
if: ${{ contains('workflow_dispatch', github.event_name) && inputs.docs == true }}
uses: ./.github/workflows/build-gh_runner.yml
with:
os: ${{ inputs.os }}
ln: false
upload-package: false
asset-name: ''
cmake-configuration-ex: '-DMAKE_DOCS_ONLY=ON'
secrets: inherit

test-workflow-dispatch:
if: ${{ contains('workflow_dispatch', github.event_name) && inputs.smoketest == true }}
needs: build-workflow-dispatch
Expand Down Expand Up @@ -161,6 +177,14 @@ jobs:
os: ubuntu-22.04
secrets: inherit

build-gh_runner-ubuntu-22_04-docs:
if: ${{ contains('schedule,push', github.event_name) }}
uses: ./.github/workflows/build-gh_runner.yml
with:
os: ubuntu-22.04
cmake-configuration-ex: '-DMAKE_DOCS_ONLY=ON'
secrets: inherit

build-gh_runner-ubuntu-20_04:
if: ${{ contains('schedule,push', github.event_name) }}
uses: ./.github/workflows/build-gh_runner.yml
Expand Down

0 comments on commit 025e159

Please sign in to comment.