source: .github/workflows/test.yaml @ 210d1d9

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
RevLine 
[294b98d]1name: Tests
2
3on:
4  - push
5  - pull_request
6
7env:
8  PKG_CONFIG_PATH: $HOME/otr/usr/lib/pkgconfig/
9  LD_LIBRARY_PATH: $HOME/otr/usr/lib/
10
11jobs:
[612b49d]12  shellcheck:
13    runs-on: ubuntu-latest
14    steps:
15    - name: Checkout code
[210d1d9]16      uses: actions/checkout@v4
[612b49d]17    - name: Run ShellCheck
18      uses: ludeeus/action-shellcheck@master
[294b98d]19  tests:
[612b49d]20    needs: shellcheck
[294b98d]21    runs-on: ubuntu-latest
22    steps:
[210d1d9]23    - uses: actions/checkout@v4
[294b98d]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.