Last change
on this file since 210d1d9 was
210d1d9,
checked in by Jelmer Vernooij <jelmer.vernooij@…>, at 2023-12-03T12:29:07Z
|
Bump GitHub actions/checkout from 3 to 4
|
-
Property mode set to
100644
|
File size:
986 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 | shellcheck: |
---|
13 | runs-on: ubuntu-latest |
---|
14 | steps: |
---|
15 | - name: Checkout code |
---|
16 | uses: actions/checkout@v4 |
---|
17 | - name: Run ShellCheck |
---|
18 | uses: ludeeus/action-shellcheck@master |
---|
19 | tests: |
---|
20 | needs: shellcheck |
---|
21 | runs-on: ubuntu-latest |
---|
22 | steps: |
---|
23 | - uses: actions/checkout@v4 |
---|
24 | - name: Install dependencies |
---|
25 | run: | |
---|
26 | sudo apt-get update && sudo apt-get -y install \ |
---|
27 | libevent-dev \ |
---|
28 | libpurple-dev \ |
---|
29 | check \ |
---|
30 | libpam0g-dev \ |
---|
31 | libldap2-dev \ |
---|
32 | fakeroot \ |
---|
33 | debhelper \ |
---|
34 | devscripts \ |
---|
35 | libotr5-dev \ |
---|
36 | libgnutls28-dev \ |
---|
37 | libjsonparser-dev |
---|
38 | - name: Configure |
---|
39 | run: ./configure --pam=1 --ldap=1 |
---|
40 | - name: Run testsuite |
---|
41 | run: make check |
---|
42 | - name: Build debian package |
---|
43 | run: dpkg-buildpackage -uc -us -b |
---|
Note: See
TracBrowser
for help on using the repository browser.