Last change
on this file since af09afd was
294b98d,
checked in by Jelmer Vernooij <jelmer.vernooij@…>, at 2023-02-03T13:58:56Z
|
Migrate from travis to github actions
|
-
Property mode set to
100644
|
File size:
783 bytes
|
Line | |
---|
1 | name: Tests |
---|
2 | |
---|
3 | on: |
---|
4 | - push |
---|
5 | - pull_request |
---|
6 | |
---|
7 | env: |
---|
8 | PKG_CONFIG_PATH: $HOME/otr/usr/lib/pkgconfig/ |
---|
9 | LD_LIBRARY_PATH: $HOME/otr/usr/lib/ |
---|
10 | |
---|
11 | jobs: |
---|
12 | tests: |
---|
13 | runs-on: ubuntu-latest |
---|
14 | |
---|
15 | steps: |
---|
16 | - uses: actions/checkout@v2 |
---|
17 | - name: Install dependencies |
---|
18 | run: | |
---|
19 | sudo apt-get update && sudo apt-get -y install \ |
---|
20 | libevent-dev \ |
---|
21 | libpurple-dev \ |
---|
22 | check \ |
---|
23 | libpam0g-dev \ |
---|
24 | libldap2-dev \ |
---|
25 | fakeroot \ |
---|
26 | debhelper \ |
---|
27 | devscripts \ |
---|
28 | libotr5-dev \ |
---|
29 | libgnutls28-dev \ |
---|
30 | libjsonparser-dev |
---|
31 | - name: Configure |
---|
32 | run: ./configure --pam=1 --ldap=1 |
---|
33 | - name: Run testsuite |
---|
34 | run: make check |
---|
35 | - name: Build debian package |
---|
36 | run: dpkg-buildpackage -uc -us -b |
---|
Note: See
TracBrowser
for help on using the repository browser.