source:
.github/workflows/ci.yml
@
5a1b05c
Last change on this file since 5a1b05c was 3f783cf, checked in by , at 2021-02-25T16:21:36Z | |
---|---|
|
|
File size: 859 bytes |
Rev | Line | |
---|---|---|
[90417ce] | 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 | |
[c05108c] | 16 | sudo apt-get install -y --no-install-recommends clang git make pkg-config libgnutls28-dev libgcrypt20-dev libglib2.0-dev prosody gcovr |
[90417ce] | 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 | ||
[3f783cf] | 30 | cat ./.tests/gcovflags >> Makefile.settings |
[90417ce] | 31 | make |
[c05108c] | 32 | sudo ./bitlbee -F |
[90417ce] | 33 | |
[c05108c] | 34 | - name: jabber test |
[90417ce] | 35 | run: | |
[4d7b9a3] | 36 | sudo ./.tests/setup.sh |
37 | python3 ./.tests/test1.py | |
[c05108c] | 38 | |
39 | - name: code coverage | |
40 | run: | | |
41 | gcovr -r . |
Note: See TracBrowser
for help on using the repository browser.