Run checks against pull requests (#26)

This commit is contained in:
Luke Childs 2019-12-12 15:15:24 +07:00 committed by GitHub
commit 233cc53153
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 1 deletions

31
.github/workflows/pull-request.yml vendored Normal file
View File

@ -0,0 +1,31 @@
name: Build bitcoind on pull request
on: pull_request
jobs:
build:
name: Build Bitcoind
runs-on: ubuntu-18.04
env:
DOCKER_BUILDKIT: 1
strategy:
fail-fast: false
matrix:
subver:
- '0.16'
- '0.17'
- '0.18'
- '0.19'
steps:
- uses: actions/checkout@v1.0.0
- name: Build Bitcoind
run: docker build -t bitcoind ${{matrix.subver}}/
- name: Print Bitcoind version
run: |
docker run --rm --entrypoint=uname bitcoind -a
docker run --rm bitcoind --version

View File

@ -66,4 +66,3 @@ jobs:
run: |
docker run --rm --entrypoint=uname bitcoind -a
docker run --rm bitcoind --version