Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
peetw committed Jan 23, 2024
1 parent f16b6a2 commit 174131f
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 11 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ on: push
jobs:
test:
name: ${{ matrix.DB }}
runs-on: ubuntu-latest
runs-on: ${{ matrix.OS }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
include:
- DB: MsSql2012 (SQL Server 2017)
DB_INIT: |
Expand Down Expand Up @@ -55,6 +56,11 @@ jobs:
DB_INIT: docker run -d -e POSTGRES_PASSWORD=nhsp_test -p 15433:5432 -v ./Tests.NHibernate.Spatial.PostGis30/initdb:/docker-entrypoint-initdb.d postgis/postgis:16-3.4
TEST_PROJECT: Tests.NHibernate.Spatial.PostGis30

- DB: SpatiaLite (SpatiaLite 4)
DB_INIT: sudo apt install libsqlite3-mod-spatialite=4.*
TEST_PROJECT: Tests.NHibernate.Spatial.SpatiaLite
OS: ubuntu-20.04

- DB: SpatiaLite (SpatiaLite 5)
DB_INIT: sudo apt install libsqlite3-mod-spatialite=5.*
TEST_PROJECT: Tests.NHibernate.Spatial.SpatiaLite
Expand Down
28 changes: 18 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,23 @@ NHibernate binaries.

## NuGet Packages

| Package | Version |
|-----------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------|
| [NHibernate.Spatial.MsSql](https://www.nuget.org/packages/NHibernate.Spatial.MsSql) | [![NuGet Status](http://img.shields.io/nuget/v/NHibernate.Spatial.MsSql.svg?style=flat)](http://www.nuget.org/packages/NHibernate.Spatial.MsSql) |
| [NHibernate.Spatial.MySQL](https://www.nuget.org/packages/NHibernate.Spatial.MySQL) | [![NuGet Status](http://img.shields.io/nuget/v/NHibernate.Spatial.MySQL.svg?style=flat)](http://www.nuget.org/packages/NHibernate.Spatial.MySQL) |
| [NHibernate.Spatial.PostGis](https://www.nuget.org/packages/NHibernate.Spatial.PostGis) | [![NuGet Status](http://img.shields.io/nuget/v/NHibernate.Spatial.PostGis.svg?style=flat)](http://www.nuget.org/packages/NHibernate.Spatial.PostGis) |
| Package | Version |
|-----------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [NHibernate.Spatial.MsSql](https://www.nuget.org/packages/NHibernate.Spatial.MsSql) | [![NuGet Status](http://img.shields.io/nuget/v/NHibernate.Spatial.MsSql.svg?style=flat)](http://www.nuget.org/packages/NHibernate.Spatial.MsSql) |
| [NHibernate.Spatial.MySQL](https://www.nuget.org/packages/NHibernate.Spatial.MySQL) | [![NuGet Status](http://img.shields.io/nuget/v/NHibernate.Spatial.MySQL.svg?style=flat)](http://www.nuget.org/packages/NHibernate.Spatial.MySQL) |
| [NHibernate.Spatial.PostGis](https://www.nuget.org/packages/NHibernate.Spatial.PostGis) | [![NuGet Status](http://img.shields.io/nuget/v/NHibernate.Spatial.PostGis.svg?style=flat)](http://www.nuget.org/packages/NHibernate.Spatial.PostGis) |
| [NHibernate.Spatial.SpatiaLite](https://www.nuget.org/packages/NHibernate.Spatial.SpatiaLite) | [![NuGet Status](http://img.shields.io/nuget/v/NHibernate.Spatial.SpatiaLite.svg?style=flat)](http://www.nuget.org/packages/NHibernate.Spatial.SpatiaLite) |

## Supported Databases

| Package | Dialects | CI Tests |
|----------------------------|--------------------------|---------------------------------------------------------------------------------------|
| NHibernate.Spatial.MsSql | SQL Server 2012 | SQL Server 2017, SQL Server 2019, SQL Server 2022 |
| NHibernate.Spatial.MySQL | MySQL 5.7, MySQL 8.0 | MySQL 5.7, MySQL 8.0, MySQL 8.3 |
| NHibernate.Spatial.PostGis | PostGIS 2.0, PostGIS 3.0 | PostGIS 2.5 (PostgreSQL 12), PostGIS 3.0 (PostgreSQL 12), PostGIS 3.4 (PostgreSQL 16) |
| Package | Dialects | CI Tests |
|-------------------------------|--------------------------|---------------------------------------------------------------------------------------|
| NHibernate.Spatial.MsSql | SQL Server 2012 | SQL Server 2017, SQL Server 2019, SQL Server 2022 |
| NHibernate.Spatial.MySQL | MySQL 5.7, MySQL 8.0 | MySQL 5.7, MySQL 8.0, MySQL 8.3 |
| NHibernate.Spatial.PostGis | PostGIS 2.0, PostGIS 3.0 | PostGIS 2.5 (PostgreSQL 12), PostGIS 3.0 (PostgreSQL 12), PostGIS 3.4 (PostgreSQL 16) |
| NHibernate.Spatial.SpatiaLite | SpatiaLite | SpatiaLite 5 <sup>*</sup> |

<sup>*</sup> The SpatiaLite dialect supports SpatiaLite 4+, but it is not possible to test

## Getting Started

Expand All @@ -32,6 +36,10 @@ For general NHibernate help, the NHibernate community website - <http://nhiberna
range of resources to help you get started with basic NHibernate, including [wikis][NHWiki],
[blogs][NHWiki] and [reference documentation][NH].

### SpatiaLite

`mod_spatialite`

## Discussion Forum

Discussion is made through the [NHibernate.Spatial Mailing List](https://groups.google.com/forum/#!forum/nhibernate-spatial).
Expand Down

0 comments on commit 174131f

Please sign in to comment.