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

Last change on this file since c6c05ad was c6c05ad, checked in by / <>, at 2021-03-29T10:25:12Z

refactor

  • 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 \
[297d2129]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
[c6c05ad]34        touch ./debuglog
35   
[c05108c]36    - name: jabber test
[90417ce]37      run: |
[c6c05ad]38        ./.tests/setup_prosody.sh
39        ./.tests/setup_bitlbee.sh
40
[4d7b9a3]41        python3 ./.tests/test1.py
[c05108c]42
[c6c05ad]43        ./.tests/cleanup_bitlbee.sh
44        ./.tests/cleanup_prosody.sh
[4b15a9a]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.