summaryrefslogtreecommitdiffstats
path: root/.github/workflows/macos.yml
blob: 1d70a897b69be9322a198f231fd8df69b117611d (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: macOS

on:
  push:
    branches: [ "*" ]
    tags: [ "*" ]
  pull_request:
    branches: [ "trunk" ]

env:
  MARGS: "-j2"
  
jobs:

  build:
    strategy:
      matrix:
        os: [ "macos-latest" ]

    runs-on: ${{ matrix.os }}
    timeout-minutes: 15
    env:
      NOTEST_CFLAGS: ${{ matrix.notest-cflags }}
    name: ${{ matrix.name }}
    steps:
    - name: Install prerequisites
      run: brew install libtool autoconf make bash
    - uses: actions/checkout@v4
    - name: buildconf
      run: ./buildconf
    - name: configure
      run: ./configure
    - name: make
      run: make $MARGS
    - name: make check
      run: make check