source: .github/workflows/ci.yml @ 2c7f522

Last change on this file since 2c7f522 was 9634fba, checked in by / <>, at 2021-03-18T11:40:49Z

how about actually installing the thing idk

  • Property mode set to 100644
File size: 909 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
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
30        cat ./.tests/gcovflags >> Makefile.settings
31        make
32        sudo make install
33        sudo bitlbee -F
34
35    - name: jabber test
36      run: |
37        sudo ./.tests/setup.sh
38        python3 ./.tests/test1.py
39
40    - name: code coverage
41      if: ${{ always() }}
42      run: |
43        gcovr -r .
Note: See TracBrowser for help on using the repository browser.