From 6899dc269e87ff66f51d292a30ed414b66739745 Mon Sep 17 00:00:00 2001 From: Sam Ansmink Date: Fri, 4 Oct 2024 10:56:10 +0200 Subject: [PATCH] add building the loadable capi extension to ci --- .github/workflows/rust.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index b4cf414e..c2544211 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -88,12 +88,14 @@ jobs: with: name: PATH value: $env:PATH;${{ github.workspace }}/libduckdb + - name: Run cargo-test if: matrix.os == 'windows-latest' run: cargo test --features "modern-full vtab-full vtab-loadable" env: DUCKDB_LIB_DIR: ${{ github.workspace }}/libduckdb DUCKDB_INCLUDE_DIR: ${{ github.workspace }}/libduckdb + - name: Build loadable extension run: cargo build --example hello-ext --features="vtab-loadable" env: @@ -101,6 +103,13 @@ jobs: DUCKDB_INCLUDE_DIR: ${{ github.workspace }}/libduckdb LD_LIBRARY_PATH: ${{ github.workspace }}/libduckdb + - name: Build loadable extension + run: cargo build --example hello-ext-capi --features="vtab-loadable,loadable_extension" + env: + DUCKDB_LIB_DIR: ${{ github.workspace }}/libduckdb + DUCKDB_INCLUDE_DIR: ${{ github.workspace }}/libduckdb + LD_LIBRARY_PATH: ${{ github.workspace }}/libduckdb + Windows: name: Windows build from source needs: test