Skip to content

Commit

Permalink
Update CI spatialite
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiBolibar committed Aug 2, 2024
1 parent efdc50f commit 8ae5036
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Run Tests
on:
pull_request:
pull_request:
branches:
- main
push:
push:
branches: []
tags: '*'
concurrency:
Expand All @@ -14,8 +14,8 @@ jobs:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -el {0}
run:
shell: bash -el {0}
strategy:
fail-fast: false
matrix:
Expand Down
7 changes: 5 additions & 2 deletions src/setup/config.jl
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,16 @@ function load_spatialite()
]
for lib in lib_paths
if isfile(lib)
return dlopen(lib)
try
return dlopen(lib)
catch e
println("Failed to load $lib: $e")
end
end
end
error("libspatialite library not found")
end


function clean()
atexit() do
run(`$(Base.julia_cmd())`)
Expand Down

0 comments on commit 8ae5036

Please sign in to comment.