summaryrefslogtreecommitdiff
path: root/genqrcode/.github/workflows/configure.yml
blob: 6fcf4d1a138a6cfb49b71359c9f17325a0d6dfbc (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
name: build

on: [push, pull_request]

jobs:
  build:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest, macos-latest]

    steps:
    - uses: actions/checkout@v2
    - name: brew setup
      if: matrix.os == 'macos-latest'
      run: brew install automake autoconf pkg-config libpng
    - name: generate configure script
      run: ./autogen.sh
    - name: configure
      run: ./configure --with-tests
    - name: make
      run: make -j 2
    - name: make check
      run: make check
    - name: make distcheck
      run: make -j 2 distcheck