snapraid/.github/workflows/build.yml
2026-08-18 23:33:53 +02:00

43 lines
1,017 B
YAML

name: Build
permissions:
contents: read
on:
push:
branches: [ "master", "stable" ]
pull_request:
branches: [ "master", "stable" ]
jobs:
build-mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v5
- run: brew install automake
- run: autoreconf -i
- run: ./configure --enable-warning-as-error
- run: make all dist check
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- run: autoreconf -i
- run: ./configure --enable-warning-as-error
- run: make all snapcheck
- run: make distcheck
build-win:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v5
- 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 dist check