source: .github/workflows/ci.yml @ a3a966a

Last change on this file since a3a966a was 4b15a9a, checked in by / <>, at 2021-03-26T10:23:02Z

asan

  • Property mode set to 100644
File size: 1.0 KB
Line 
1name: CI
2
3on:
4  - pull_request
5  - push
6
7jobs:
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            --asan=1
22           # --events=glib \
23           # --ssl=gnutls \
24           # --doc=0 \
25           # --jabber=0 \
26           # --msn=0 \
27           # --oscar=0 \
28           # --twitter=0 \
29           # --yahoo=0
30
31        cat ./.tests/gcovflags >> Makefile.settings
32        make
33        sudo make install
34        sudo BITLBEE_DEBUG=1 bitlbee -Dnv 2> ./testlog &
35
36    - name: jabber test
37      run: |
38        sudo ./.tests/setup.sh
39        python3 ./.tests/test1.py
40
41    - name: debug output
42      if: ${{ always() }}
43      run: |
44        less ./testlog
45
46    - name: code coverage
47      if: ${{ always() }}
48      run: |
49        gcovr -r .
Note: See TracBrowser for help on using the repository browser.