From b7ca8ad946ace46bef84c9eb1ceca3666cf57096 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Tue, 15 Oct 2024 21:08:56 +0300 Subject: [PATCH] Install sqlite3 and enable driver_sqlite --- .github/workflows/ci.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1bfe029ec..aa9f7c02b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -156,6 +156,11 @@ jobs: choco install sqlite echo "C:\ProgramData\chocolatey\lib\SQLite\tools" >> $GITHUB_PATH sqlite3 --version + - name: Install Sqlite (Linux) + if: runner.os == 'Linux' + run: | + sudo apt-get update + sudo apt-get install -y sqlite3 # use the minimal driver set for clippy as the other # drivers do not change the rust code # enable `driver_sqlite` to force statically linking libsqlite3 for proj @@ -164,14 +169,8 @@ jobs: # we only build tests here as we have disabled features # that are required for running tests - name: Build bundled gdal (minimal features) - if: runner.os == 'Windows' # we use cargo test --no-run here because # tests do not pass due to missing libgeos but we want to have a complete build (including linking) run: cargo test --features "gdal-sys/bundled gdal-src gdal-src/driver_sqlite" --no-run - - name: Build bundled gdal (minimal features) - if: runner.os != 'Windows' - # we use cargo test --no-run here because - # tests do not pass due to missing libgeos but we want to have a complete build (including linking) - run: cargo test --features "gdal-sys/bundled gdal-src" --no-run - name: Test bundled (all features) run: cargo test --features "gdal-sys/bundled gdal-src gdal-src/all_drivers gdal-src/geos_static"