Update upstream source from tag 'upstream/1.1.15'
Update to upstream version '1.1.15'
with Debian dir ca32c01f3e10c13f737747280f73bbd1bb89ee36
Philipp Huebner
1 year, 11 months ago
0 | |
name: CI
|
1 | |
|
2 | |
on: [push, pull_request]
|
3 | |
|
4 | |
jobs:
|
5 | |
|
6 | |
tests:
|
7 | |
name: Tests
|
8 | |
strategy:
|
9 | |
fail-fast: false
|
10 | |
matrix:
|
11 | |
otp: ['19.3', '21.3', 24]
|
12 | |
runs-on: ubuntu-20.04
|
13 | |
container:
|
14 | |
image: erlang:${{ matrix.otp }}
|
15 | |
steps:
|
16 | |
- uses: actions/checkout@v2
|
17 | |
- run: ./configure
|
18 | |
- run: make
|
19 | |
- run: rebar3 compile
|
20 | |
- run: rebar3 xref
|
21 | |
- run: rebar3 dialyzer
|
22 | |
- run: rebar3 eunit -v
|
23 | |
|
24 | |
cover:
|
25 | |
name: Cover
|
26 | |
needs: [tests]
|
27 | |
runs-on: ubuntu-20.04
|
28 | |
steps:
|
29 | |
- uses: actions/checkout@v2
|
30 | |
- run: ./configure --enable-gcov
|
31 | |
- run: rebar3 compile
|
32 | |
- run: rebar3 eunit -v
|
33 | |
- run: rebar3 eunit -v
|
34 | |
- run: pip install --user cpp-coveralls
|
35 | |
- run: cpp-coveralls -b `pwd` --verbose --gcov-options '\-lp' --dump c.json
|
36 | |
- name: Send to Coveralls
|
37 | |
env:
|
38 | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
39 | |
run: |
|
40 | |
ADDJSONFILE=c.json COVERALLS=true rebar3 as test coveralls send
|
41 | |
curl -v -k https://coveralls.io/webhook \
|
42 | |
--header "Content-Type: application/json" \
|
43 | |
--data '{"repo_name":"$GITHUB_REPOSITORY",
|
44 | |
"repo_token":"$GITHUB_TOKEN",
|
45 | |
"payload":{"build_num":$GITHUB_RUN_ID,
|
46 | |
"status":"done"}}'
|
.github/workflows/hexpm-release.yml
less
more
0 | |
name: Hex
|
1 | |
|
2 | |
on:
|
3 | |
push:
|
4 | |
tags:
|
5 | |
- '*'
|
6 | |
|
7 | |
jobs:
|
8 | |
release:
|
9 | |
runs-on: ubuntu-latest
|
10 | |
steps:
|
11 | |
- name: Check out
|
12 | |
uses: actions/checkout@v2
|
13 | |
|
14 | |
- name: Setup rebar3 hex
|
15 | |
run: |
|
16 | |
mkdir -p ~/.config/rebar3/
|
17 | |
echo "{plugins, [rebar3_hex]}." > ~/.config/rebar3/rebar.config
|
18 | |
|
19 | |
- run: rebar3 edoc
|
20 | |
|
21 | |
- name: Prepare Markdown
|
22 | |
run: |
|
23 | |
echo "" >>README.md
|
24 | |
echo "## EDoc documentation" >>README.md
|
25 | |
echo "" >>README.md
|
26 | |
echo "You can check this library's " >>README.md
|
27 | |
echo "[EDoc documentation](edoc.html), " >>README.md
|
28 | |
echo "generated automatically from the source code comments." >>README.md
|
29 | |
|
30 | |
- name: Convert Markdown to HTML
|
31 | |
uses: natescherer/markdown-to-html-with-github-style-action@v1.1.0
|
32 | |
with:
|
33 | |
path: README.md
|
34 | |
|
35 | |
- run: |
|
36 | |
mv doc/index.html doc/edoc.html
|
37 | |
mv README.html doc/index.html
|
38 | |
|
39 | |
- name: Publish to hex.pm
|
40 | |
run: DEBUG=1 rebar3 hex publish --repo hexpm --yes
|
41 | |
env:
|
42 | |
HEX_API_KEY: ${{ secrets.HEX_API_KEY }}
|
0 | |
*.swo
|
1 | |
*.swp
|
2 | |
.eunit
|
3 | |
.rebar
|
4 | |
_build
|
5 | |
autom4te.cache
|
6 | |
c_src/*.d
|
7 | |
c_src/*.gcda
|
8 | |
c_src/*.gcno
|
9 | |
c_src/*.o
|
10 | |
config.log
|
11 | |
config.status
|
12 | |
deps
|
13 | |
ebin
|
14 | |
priv
|
15 | |
rebar.lock
|
16 | |
vars.config
|