mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-26 01:46:32 -05:00
Enable check on github actions
This commit is contained in:
parent
65d404fd5f
commit
bbfb3415dc
1 changed files with 12 additions and 12 deletions
24
.github/workflows/build.yml
vendored
24
.github/workflows/build.yml
vendored
|
|
@ -1,29 +1,29 @@
|
||||||
name: Build
|
name: Build
|
||||||
on: [push]
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-mac:
|
build-mac:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- run: echo "This job is now running on a ${{ runner.os }} server hosted by GitHub!"
|
- uses: actions/checkout@v2
|
||||||
- run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
|
|
||||||
- name: Check out repository code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
- run: brew install automake
|
- run: brew install automake
|
||||||
- run: autoreconf -i
|
- run: autoreconf -i
|
||||||
- run: ./configure --enable-warning-as-error
|
- run: ./configure --enable-warning-as-error
|
||||||
- run: make all
|
- run: make all
|
||||||
- run: make dist
|
- run: make distcheck
|
||||||
build-linux:
|
build-linux:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- run: echo "This job is now running on a ${{ runner.os }} server hosted by GitHub!"
|
- uses: actions/checkout@v2
|
||||||
- run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
|
|
||||||
- name: Check out repository code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
- run: autoreconf -i
|
- run: autoreconf -i
|
||||||
- run: ./configure --enable-warning-as-error
|
- run: ./configure --enable-warning-as-error
|
||||||
- run: make all
|
- run: make all
|
||||||
- run: make dist
|
- run: make distcheck
|
||||||
build-win:
|
build-win:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
defaults:
|
defaults:
|
||||||
|
|
@ -39,5 +39,5 @@ jobs:
|
||||||
- run: autoreconf -i
|
- run: autoreconf -i
|
||||||
- run: ./configure --enable-warning-as-error
|
- run: ./configure --enable-warning-as-error
|
||||||
- run: make all
|
- run: make all
|
||||||
- run: make dist
|
- run: make distcheck
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue