Skip to content

Build and deploy DuckDB-Wasm extensions #49

Build and deploy DuckDB-Wasm extensions

Build and deploy DuckDB-Wasm extensions #49

#
# This workflow calls the main distribution pipeline from DuckDB to build, test and (optionally) release the extension
#
name: Main Extension Distribution Pipeline
on:
push:
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || '' }}-${{ github.base_ref || '' }}-${{ github.ref != 'refs/heads/main' || github.sha }}
cancel-in-progress: true
jobs:
duckdb-stable-build:
name: Build extension binaries
uses: carlopi/duckdb/.github/workflows/_extension_distribution.yml@c15b58de4e12b6b781cd7300729f9d4c7a24ec1e
with:
vcpkg_commit: a42af01b72c28a8e1d7b48107b33e4f286a55ef6
duckdb_version: v0.9.2
extension_name: quack
exclude_archs: ""
duckdb-stable-deploy:
name: Deploy extension binaries
needs: duckdb-stable-build
uses: ./.github/workflows/_extension_deploy.yml
secrets: inherit
with:
duckdb_version: v0.9.2
extension_name: quack
deploy_latest: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' }}
deploy_versioned: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' }}
duckdb-wasm-stable-deploy:
name: Deploy Wasm extension binaries
needs: duckdb-stable-build
uses: ./.github/workflows/_extension_deploy_wasm.yml
secrets: inherit
with:
duckdb_version: v0.9.2
extension_name: quack
deploy_latest: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' }}
deploy_versioned: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' }}