Add rpm specfile #42
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |