44 lines
987 B
YAML
44 lines
987 B
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build-mac:
|
|
runs-on: macos-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- run: brew install automake
|
|
- run: autoreconf -i
|
|
- run: ./configure --enable-warning-as-error
|
|
- run: make all
|
|
- run: make distcheck
|
|
build-linux:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- run: autoreconf -i
|
|
- run: ./configure --enable-warning-as-error
|
|
- run: make all
|
|
- run: make distcheck
|
|
build-win:
|
|
runs-on: windows-latest
|
|
defaults:
|
|
run:
|
|
shell: msys2 {0}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: msys2/setup-msys2@v2
|
|
with:
|
|
msystem: MINGW64
|
|
update: true
|
|
install: mingw-w64-x86_64-gcc autoconf automake make
|
|
- run: autoreconf -i
|
|
- run: ./configure --enable-warning-as-error
|
|
- run: make all
|
|
- run: make distcheck
|
|
|