Line | |
---|
1 | name: CI |
---|
2 | |
---|
3 | on: |
---|
4 | - pull_request |
---|
5 | - push |
---|
6 | |
---|
7 | jobs: |
---|
8 | tests: |
---|
9 | runs-on: ubuntu-20.04 |
---|
10 | |
---|
11 | steps: |
---|
12 | - uses: actions/checkout@v2 |
---|
13 | - name: Dependencies |
---|
14 | run: | |
---|
15 | sudo apt-get update -y |
---|
16 | sudo apt-get install -y --no-install-recommends clang git make pkg-config libgnutls28-dev libgcrypt20-dev libglib2.0-dev prosody gcovr |
---|
17 | |
---|
18 | - name: build bitlbee |
---|
19 | run: | |
---|
20 | ./configure #\ |
---|
21 | # --events=glib \ |
---|
22 | # --ssl=gnutls \ |
---|
23 | # --doc=0 \ |
---|
24 | # --jabber=0 \ |
---|
25 | # --msn=0 \ |
---|
26 | # --oscar=0 \ |
---|
27 | # --twitter=0 \ |
---|
28 | # --yahoo=0 |
---|
29 | |
---|
30 | cat ./.test/gcovflags >> Makefile.settings |
---|
31 | make |
---|
32 | sudo ./bitlbee -F |
---|
33 | |
---|
34 | - name: jabber test |
---|
35 | run: | |
---|
36 | sudo ./.tests/setup.sh |
---|
37 | python3 ./.tests/test1.py |
---|
38 | |
---|
39 | - name: code coverage |
---|
40 | run: | |
---|
41 | gcovr -r . |
---|
Note: See
TracBrowser
for help on using the repository browser.