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

Last change on this file since d347470 was 439c4d0, checked in by / <>, at 2021-03-29T11:45:24Z

rf8

  • Property mode set to 100644
File size: 1006 bytes
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        sudo prosodyctl stop
18
19    - name: build bitlbee
20      run: |
21        ./configure --asan=1
22        cat ./.tests/gcovflags >> Makefile.settings
23        make
24        sudo make install
25        touch ./debuglog
26   
27    - name: talk to bitlbee
28      run: |
29        (BITLBEE_DEBUG=1 ./bitlbee -Dnv 2> ./debuglog) &
30
31        python3 ./.tests/talk_to_bitlbee.py
32
33        ./.tests/cleanup_bitlbee.sh
34
35    - name: jabber connect
36      run: |
37        ./.tests/setup_prosody.sh
38        ./.tests/setup_bitlbee.sh
39
40
41        ./.tests/cleanup_bitlbee.sh
42        ./.tests/cleanup_prosody.sh
43
44    - name: code coverage
45      if: ${{ always() }}
46      run: |
47        gcovr -r .
Note: See TracBrowser for help on using the repository browser.