Merge pull request #92 from inoas/fix-sqlite-pc-dep

up pc dep to ~> 1.15 to fix otp27, add otp versions to github ci, require min pc version
This commit is contained in:
MM Zeeman
2024-05-23 08:16:28 +02:00
committed by GitHub
5 changed files with 11 additions and 10 deletions

View File

@@ -10,18 +10,18 @@ jobs:
linux: linux:
name: Test on OTP ${{ matrix.otp_version }} name: Test on OTP ${{ matrix.otp_version }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
otp_version: [22,23,24] otp_version: [22,23,24,25,26,27]
os: [ubuntu-latest] os: [ubuntu-latest]
container: container:
image: erlang:${{ matrix.otp_version }} image: erlang:${{ matrix.otp_version }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Compile - name: Compile
run: make run: make
- name: Test - name: Test
run: make test run: make test

View File

@@ -26,7 +26,7 @@ clean: $(REBAR3)
distclean: distclean:
rm $(REBAR3) rm $(REBAR3)
# dializer # dialyzer
build-plt: build-plt:
@$(DIALYZER) --build_plt --output_plt .$(PROJECT).plt \ @$(DIALYZER) --build_plt --output_plt .$(PROJECT).plt \

View File

@@ -3,8 +3,9 @@
Releases of [esqlite on hex.pm](https://hex.pm/packages/esqlite) are managed by Connor Rigby ([@connorrigby](https://github.com/connorrigby)). Releases of [esqlite on hex.pm](https://hex.pm/packages/esqlite) are managed by Connor Rigby ([@connorrigby](https://github.com/connorrigby)).
## Setup ## Setup
1. Install rebar3
2. [Install hex plugin](https://hex.pm/docs/rebar3_usage#installation) 1. Install rebar3.
2. [Install hex plugin](https://hex.pm/docs/rebar3_usage#installation).
3. Run `rebar3 update`. 3. Run `rebar3 update`.
## Make a Release ## Make a Release

View File

@@ -50,7 +50,7 @@ CFlags =
{"priv/esqlite3_nif.so", NifSources} {"priv/esqlite3_nif.so", NifSources}
]}, ]},
{plugins, [pc]}, {plugins, [{pc, "~> 1.15"}]},
{provider_hooks, {provider_hooks,
[{post, [{post,

View File

@@ -1,7 +1,7 @@
{application, esqlite, {application, esqlite,
[ [
{description, "sqlite nif interface"}, {description, "sqlite nif interface"},
{vsn, "0.8.7"}, {vsn, "0.8.8"},
{modules, [esqlite3, esqlite3_nif]}, {modules, [esqlite3, esqlite3_nif]},
{registered, []}, {registered, []},
{licenses, ["Apache"]}, {licenses, ["Apache"]},