Skip to content

Widen range of cmake_minimum_required #253

Widen range of cmake_minimum_required

Widen range of cmake_minimum_required #253

#
# 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:
get_branch:
name: Get name of stable branch
runs-on: ubuntu-latest
outputs:
handle: ${{ steps.pass_through.outputs.branch }}
env:
DUCKDB_STABLE_BRANCH: ${{ vars.DUCKDB_STABLE_BRANCH }}
steps:
- name: Pass through
id: pass_through
shell: bash
run: |
echo "branch=$DUCKDB_STABLE_BRANCH" >> "$GITHUB_OUTPUT"
duckdb-stable-build:
name: Build extension binaries
needs:
- get_branch
uses: duckdb/extension-ci-tools/.github/workflows/_extension_distribution.yml@main
with:
duckdb_version: ${{ needs.get_branch.outputs.branch }}
ci_tools_version: main
extension_name: postgres_scanner
exclude_archs: 'wasm_mvp;wasm_eh;wasm_threads;windows_amd64_mingw'
duckdb-stable-deploy:
name: Deploy extension binaries
needs:
- get_branch
- duckdb-stable-build
uses: duckdb/extension-ci-tools/.github/workflows/_extension_deploy.yml@main
secrets: inherit
with:
duckdb_version: ${{ needs.get_branch.outputs.branch }}
ci_tools_version: main
extension_name: postgres_scanner
exclude_archs: 'wasm_mvp;wasm_eh;wasm_threads;windows_amd64_mingw'
deploy_latest: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' }}