Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for GitHub Actions as replacement for Travis CI #2

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
23 changes: 23 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build CPU miner

on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Get libcurl-dev package
run: sudo apt-get install libcurl4-openssl-dev
- name: Set-up autoconf
run: chmod +x ./autogen.sh && ./autogen.sh
- name: configure
run: chmod +x ./configure && ./configure --with-crypto --with-curl
- name: make
run: make
- name: make check
run: make check
- name: CPU test
run: ./cpuminer --cputest