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
RevLine 
[90417ce]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
[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: |
[4b15a9a]20        ./configure \
21            --asan=1
[90417ce]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
[3f783cf]31        cat ./.tests/gcovflags >> Makefile.settings
[90417ce]32        make
[9634fba]33        sudo make install
[4b15a9a]34        sudo BITLBEE_DEBUG=1 bitlbee -Dnv 2> ./testlog &
[90417ce]35
[c05108c]36    - name: jabber test
[90417ce]37      run: |
[4d7b9a3]38        sudo ./.tests/setup.sh
39        python3 ./.tests/test1.py
[c05108c]40
[4b15a9a]41    - name: debug output
42      if: ${{ always() }}
43      run: |
44        less ./testlog
45
[c05108c]46    - name: code coverage
[8d7cc55]47      if: ${{ always() }}
[c05108c]48      run: |
49        gcovr -r .
Note: See TracBrowser for help on using the repository browser.