Skip to content

Commit 76047a4

Browse files
authored
create make distcheck GitHub workflow (#14)
create `make distcheck` GitHub workflow
1 parent 14468d6 commit 76047a4

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/distcheck.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Distcheck
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
env:
8+
JOBS: 2
9+
10+
jobs:
11+
linux:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Check out
16+
uses: actions/checkout@v2
17+
- name: Install prerequisites
18+
run: |
19+
sudo DEBIAN_FRONTEND=noninteractive apt-get update
20+
sudo DEBIAN_FRONTEND=noninteractive apt-get install autoconf automake libtool
21+
- name: Configure
22+
run: |
23+
autoreconf -i
24+
ASAN_OPTIONS=detect_leaks=0 CFLAGS="-fsanitize=address" ./configure --enable-debug
25+
26+
- name: Check
27+
run: ASAN_OPTIONS=detect_leaks=0 make -j $JOBS check
28+
- name: Distcheck
29+
run: make -j $JOBS distcheck
30+

0 commit comments

Comments
 (0)