Skip to content

Commit

Permalink
fix: support SpatiaLite extension (#1137)
Browse files Browse the repository at this point in the history
  • Loading branch information
merceyz authored Feb 22, 2024
1 parent b35e089 commit 60763a0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ jobs:
- run: npm install --ignore-scripts
- run: npm run build-debug
- run: npm test
- name: Test SpatiaLite extension
if: ${{ startsWith(matrix.os, 'ubuntu') }}
run: |
sudo apt update
sudo apt install libsqlite3-mod-spatialite -y
node -e "require('./lib/index.js')(':memory:').loadExtension('mod_spatialite').exec('SELECT InitSpatialMetaData();')"
publish:
if: ${{ github.event_name == 'release' }}
Expand Down
1 change: 0 additions & 1 deletion deps/defines.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
'SQLITE_ENABLE_UPDATE_DELETE_LIMIT',
'SQLITE_LIKE_DOESNT_MATCH_BLOBS',
'SQLITE_OMIT_DEPRECATED',
'SQLITE_OMIT_GET_TABLE',
'SQLITE_OMIT_PROGRESS_CALLBACK',
'SQLITE_OMIT_SHARED_CACHE',
'SQLITE_OMIT_TCL_VARIABLE',
Expand Down
1 change: 0 additions & 1 deletion deps/download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ SQLITE_ENABLE_STAT4
SQLITE_ENABLE_UPDATE_DELETE_LIMIT
SQLITE_LIKE_DOESNT_MATCH_BLOBS
SQLITE_OMIT_DEPRECATED
SQLITE_OMIT_GET_TABLE
SQLITE_OMIT_PROGRESS_CALLBACK
SQLITE_OMIT_SHARED_CACHE
SQLITE_OMIT_TCL_VARIABLE
Expand Down
1 change: 0 additions & 1 deletion docs/compilation.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ SQLITE_ENABLE_STAT4
SQLITE_ENABLE_UPDATE_DELETE_LIMIT
SQLITE_LIKE_DOESNT_MATCH_BLOBS
SQLITE_OMIT_DEPRECATED
SQLITE_OMIT_GET_TABLE
SQLITE_OMIT_PROGRESS_CALLBACK
SQLITE_OMIT_SHARED_CACHE
SQLITE_OMIT_TCL_VARIABLE
Expand Down

0 comments on commit 60763a0

Please sign in to comment.