Skip to content

Commit

Permalink
Switch to extension-ci-tools based CI (#15)
Browse files Browse the repository at this point in the history
With this PR, duckdb-prql should be good to go for going into the community extensions repo.

I switched a few things around to stay in line with the most recent extension template. This simplifies things a little bit and should ensure that when CI passes in this repo, it will pass in the the community extensions repo.
  • Loading branch information
samansmink authored Jul 2, 2024
1 parent b4ad0be commit d1add70
Show file tree
Hide file tree
Showing 12 changed files with 174 additions and 432 deletions.
133 changes: 0 additions & 133 deletions .github/workflows/Linux.yml

This file was deleted.

83 changes: 0 additions & 83 deletions .github/workflows/MacOS.yml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/MainDistributionPipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#
# 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: duckdb/extension-ci-tools/.github/workflows/[email protected]
with:
duckdb_version: v1.0.0
extension_name: prql
enable_rust: true
exclude_archs: 'wasm_mvp;wasm_eh;wasm_threads;windows_amd64_rtools;linux_arm64'

duckdb-stable-deploy:
name: Deploy extension binaries
needs: duckdb-stable-build
uses: ./.github/workflows/_extension_deploy.yml
secrets: inherit
with:
extension_name: prql
duckdb_version: v1.0.0
exclude_archs: 'wasm_mvp;wasm_eh;wasm_threads;windows_amd64_rtools;linux_arm64'
deploy_latest: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' }}
42 changes: 0 additions & 42 deletions .github/workflows/WASM.yml

This file was deleted.

75 changes: 0 additions & 75 deletions .github/workflows/Windows.yml

This file was deleted.

Loading

0 comments on commit d1add70

Please sign in to comment.