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:
|
||||
name: Test on OTP ${{ matrix.otp_version }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
otp_version: [22,23,24]
|
||||
otp_version: [22,23,24,25,26,27]
|
||||
os: [ubuntu-latest]
|
||||
|
||||
|
||||
container:
|
||||
image: erlang:${{ matrix.otp_version }}
|
||||
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Compile
|
||||
run: make
|
||||
- name: Test
|
||||
run: make test
|
||||
run: make test
|
||||
|
||||
2
Makefile
2
Makefile
@@ -26,7 +26,7 @@ clean: $(REBAR3)
|
||||
distclean:
|
||||
rm $(REBAR3)
|
||||
|
||||
# dializer
|
||||
# dialyzer
|
||||
|
||||
build-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)).
|
||||
|
||||
## 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`.
|
||||
|
||||
## Make a Release
|
||||
|
||||
@@ -50,7 +50,7 @@ CFlags =
|
||||
{"priv/esqlite3_nif.so", NifSources}
|
||||
]},
|
||||
|
||||
{plugins, [pc]},
|
||||
{plugins, [{pc, "~> 1.15"}]},
|
||||
|
||||
{provider_hooks,
|
||||
[{post,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{application, esqlite,
|
||||
[
|
||||
{description, "sqlite nif interface"},
|
||||
{vsn, "0.8.7"},
|
||||
{vsn, "0.8.8"},
|
||||
{modules, [esqlite3, esqlite3_nif]},
|
||||
{registered, []},
|
||||
{licenses, ["Apache"]},
|
||||
|
||||
Reference in New Issue
Block a user