Skip to content

Commit

Permalink
Add back all platforms, allowing custom extensions to skip some
Browse files Browse the repository at this point in the history
  • Loading branch information
carlopi committed Jun 14, 2024
1 parent e66a0e8 commit 4c4e82d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
COMMUNITY_EXTENSION_NAME: ${{ steps.parse.outputs.COMMUNITY_EXTENSION_NAME }}
COMMUNITY_EXTENSION_GITHUB: ${{ steps.parse.outputs.COMMUNITY_EXTENSION_GITHUB }}
COMMUNITY_EXTENSION_REF: ${{ steps.parse.outputs.COMMUNITY_EXTENSION_REF }}
COMMUNITY_EXTENSION_DEPLOY: ${{ steps.parse.outputs.COMMUNITY_EXTENSION_DEPLOY }}
COMMUNITY_EXTENSION_EXCLUDE_PLATFORMS: ${{ steps.parse.outputs.COMMUNITY_EXTENSION_EXCLUDE_PLATFORMS }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -38,8 +40,8 @@ jobs:
if: ${{ needs.prepare.outputs.COMMUNITY_EXTENSION_NAME != '' }}
with:
duckdb_version: v1.0.0
exclude_archs: ${{ needs.prepare.outputs.COMMUNITY_EXTENSION_EXCLUDE_PLATFORMS }}
extension_name: ${{ needs.prepare.outputs.COMMUNITY_EXTENSION_NAME }}
exclude_archs: 'wasm_mvp;wasm_eh;wasm_threads;windows_amd64_rtools'
repository: ${{ needs.prepare.outputs.COMMUNITY_EXTENSION_GITHUB }}
ref: ${{ needs.prepare.outputs.COMMUNITY_EXTENSION_REF }}

Expand All @@ -53,8 +55,8 @@ jobs:
with:
deploy_latest: true
duckdb_version: v1.0.0
exclude_archs: ${{ needs.prepare.outputs.COMMUNITY_EXTENSION_EXCLUDE_PLATFORMS }}
extension_name: ${{ needs.prepare.outputs.COMMUNITY_EXTENSION_NAME }}
exclude_archs: 'wasm_mvp;wasm_eh;wasm_threads;windows_amd64_rtools'
repository: ${{ needs.prepare.outputs.COMMUNITY_EXTENSION_GITHUB }}
ref: ${{ needs.prepare.outputs.COMMUNITY_EXTENSION_REF }}

3 changes: 3 additions & 0 deletions scripts/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,8 @@
hdl.write(f"COMMUNITY_EXTENSION_GITHUB={desc['repo']['github']}\n")
hdl.write(f"COMMUNITY_EXTENSION_REF={desc['repo']['ref']}\n")
hdl.write(f"COMMUNITY_EXTENSION_NAME={desc['extension']['name']}\n")
excluded_platforms = desc['extension'].get('excluded_platforms')
if excluded_platforms:
hdl.write(f"COMMUNITY_EXTENSION_EXCLUDE_PLATFORMS={excluded_platforms}\n")
if deploy:
hdl.write(f"COMMUNITY_EXTENSION_DEPLOY=1\n")

0 comments on commit 4c4e82d

Please sign in to comment.