diff --git a/.github/workflows/MainDistributionPipeline.yml b/.github/workflows/MainDistributionPipeline.yml index e576646..ebf049b 100644 --- a/.github/workflows/MainDistributionPipeline.yml +++ b/.github/workflows/MainDistributionPipeline.yml @@ -3,7 +3,9 @@ # name: Main Extension Distribution Pipeline on: - pull_request: + push: + branches: [ "main" ] + pull_request: { } concurrency: group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || '' }}-${{ github.base_ref || '' }}-${{ github.ref != 'refs/heads/main' || github.sha }} diff --git a/CMakeLists.txt b/CMakeLists.txt index 9bfd569..a136c1e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,7 +24,8 @@ endif () corrosion_import_crate(MANIFEST_PATH vortex/Cargo.toml CRATES vortex-ffi FEATURES duckdb - IMPORTED_CRATES vortex_ffi + CRATE_TYPES staticlib + FLAGS --crate-type=staticlib ) set(EXTENSION_NAME ${TARGET_NAME}_extension) @@ -47,11 +48,6 @@ target_link_libraries(${EXTENSION_NAME} protobuf::libprotobuf ${SECURITY_FRAMEWORK} ) -target_link_libraries(${LOADABLE_EXTENSION_NAME} - vortex_ffi-shared - protobuf::libprotobuf - ${SECURITY_FRAMEWORK} -) add_subdirectory(test)