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:
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
@@ -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
|
||||||
|
|||||||
2
Makefile
2
Makefile
@@ -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 \
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
@@ -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"]},
|
||||||
|
|||||||
Reference in New Issue
Block a user