File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -339,6 +339,35 @@ jobs:
339339 env:
340340 DATABASE_URL: mssql://sa:Password123!@localhost/sqlx
341341
342+ odbc-sqlite :
343+ name : ODBC (SQLite)
344+ runs-on : ubuntu-22.04
345+ needs : check
346+ steps :
347+ - uses : actions/checkout@v4
348+ - uses : dtolnay/rust-toolchain@stable
349+ - uses : Swatinem/rust-cache@v2
350+ with :
351+ prefix-key : v1-sqlx
352+ shared-key : odbc-sqlite
353+ save-if : ${{ false }}
354+ - name : Install ODBC drivers (SQLite)
355+ run : |
356+ sudo apt-get update
357+ sudo apt-get install -y unixodbc odbcinst libsqliteodbc
358+ odbcinst -q -d || true
359+ - name : Build with ODBC feature
360+ run : |
361+ cargo build --manifest-path sqlx-core/Cargo.toml \
362+ --no-default-features \
363+ --features odbc,runtime-tokio-rustls
364+ - name : Run ODBC SQLite tests
365+ run : |
366+ cargo test \
367+ --no-default-features \
368+ --features odbc,runtime-tokio-rustls \
369+ --test odbc-sqlite
370+
342371 odbc :
343372 name : ODBC (PostgreSQL via unixODBC)
344373 runs-on : ubuntu-22.04
You can’t perform that action at this time.
0 commit comments