Line | |
---|
1 | name: CI |
---|
2 | |
---|
3 | on: |
---|
4 | - pull_request |
---|
5 | - push |
---|
6 | |
---|
7 | jobs: |
---|
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 |
---|
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 | make |
---|
31 | sudo make install install-dev |
---|
32 | |
---|
33 | - name: simple test |
---|
34 | run: | |
---|
35 | sudo ./.tests/setup.sh |
---|
36 | python3 ./.tests/test1.py |
---|
Note: See
TracBrowser
for help on using the repository browser.