aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/macos-latest.yml
blob: f008e47368a8412325a449c11bf11cb8ec085d2d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: macOS Catalina 10.15
on: 
  push:
    branches:
      - portable
  pull_request:
    branches:
      - portable
jobs:
  build:
    runs-on: macos-latest
    steps:
    - uses: actions/checkout@v1
    - name: macOS Catalina 10.15
      run: |
        brew install automake libevent openssl@1.1 bison
        export PATH="/usr/local/opt/bison/bin:$PATH"
        export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/bison/lib"
        export CFLAGS=-I/usr/local/opt/openssl@1.1/include
        ./bootstrap
        ./configure --with-gnu-ld --sysconfdir=/etc/mail --with-auth-pam
        make
        sudo make install