Merge pull request #325 from jmarshall/ci
Use GitHub Actions instead of Travis CI
This commit is contained in:
commit
f033d4e4e7
|
|
@ -0,0 +1,21 @@
|
||||||
|
name: CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
compiler: [gcc, clang]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout bwa
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Compile with ${{ matrix.compiler }}
|
||||||
|
run: make CC=${{ matrix.compiler }}
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
language: c
|
|
||||||
compiler:
|
|
||||||
- gcc
|
|
||||||
- clang
|
|
||||||
script: make
|
|
||||||
Loading…
Reference in New Issue