summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/main.yml
blob: 43541078239c5e873b5e4cc1bc94e5f2a3152f4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: CI

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - run: ./autogen.sh
    - run: ./configure
    - run: make
    - run: make test
  test-macos:
    runs-on: macos-latest
    steps:
    - uses: actions/checkout@v2
    - run: brew install automake
    - run: ./autogen.sh
    - run: ./configure
    - run: make
  valgrind-test:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: install valgrind
      run: sudo apt-get install --assume-yes valgrind
    - run: ./autogen.sh
    - run: ./configure --enable-debug --enable-transparent --enable-reverse
    - run: make
    - run: make test
    - run: make valgrind-test