Add publish to pipeline.

Update deployment docs.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-05-10 04:29:08 +00:00
parent c68d5c075f
commit df55b42d29
12 changed files with 234 additions and 105 deletions

View File

@@ -51,10 +51,14 @@ on:
type: boolean
default: true
description: Pre-build cargo dependency targets
show_docs:
type: boolean
default: true
description: Pre-build cargo rustdoc targets
jobs:
systems:
if: inputs.show_systems
if: ${{ !failure() && !cancelled() && inputs.show_systems }}
name: System
uses: ./.github/workflows/bake.yml
with:
@@ -71,7 +75,7 @@ jobs:
includes: ${{inputs.includes}}
buildsys:
if: inputs.show_systems
if: ${{ !failure() && !cancelled() && inputs.show_systems }}
name: Builder
needs: [systems]
uses: ./.github/workflows/bake.yml
@@ -89,7 +93,7 @@ jobs:
includes: ${{inputs.includes}}
sources:
if: inputs.show_sources
if: ${{ !failure() && !cancelled() && inputs.show_sources }}
name: Acquire
needs: [buildsys]
uses: ./.github/workflows/bake.yml
@@ -107,7 +111,7 @@ jobs:
includes: ${{inputs.includes}}
rocksdb:
if: inputs.show_rocksdb
if: ${{ !failure() && !cancelled() && inputs.show_rocksdb }}
name: RocksDB
needs: [sources]
uses: ./.github/workflows/bake.yml
@@ -125,7 +129,7 @@ jobs:
includes: ${{inputs.includes}}
deps:
if: inputs.show_cargo
if: ${{ !failure() && !cancelled() && inputs.show_cargo }}
name: Build
needs: [rocksdb]
uses: ./.github/workflows/bake.yml
@@ -141,3 +145,21 @@ jobs:
machines: ${{inputs.machines}}
excludes: ${{inputs.excludes}}
includes: ${{inputs.includes}}
docs:
if: ${{ !failure() && !cancelled() && inputs.show_docs }}
name: Docs
needs: [deps]
uses: ./.github/workflows/bake.yml
with:
bake_targets: '["docs"]'
cargo_profiles: ${{inputs.cargo_profiles}}
feat_sets: ${{inputs.feat_sets}}
rust_toolchains: ${{inputs.rust_toolchains}}
sys_names: ${{inputs.sys_names}}
sys_versions: ${{inputs.sys_versions}}
rust_targets: ${{inputs.rust_targets}}
sys_targets: ${{inputs.sys_targets}}
machines: ${{inputs.machines}}
excludes: ${{inputs.excludes}}
includes: ${{inputs.includes}}