Convert Travis CI to GitHub Actions

Make an equivalent GitHub Actions workflow that tests compilation
with both GCC and Clang.
This commit is contained in:
John Marshall 2021-05-09 22:54:58 +01:00
parent 87e42dbe32
commit d27d6a520b
2 changed files with 21 additions and 5 deletions

21
.github/workflows/ci.yaml vendored 100644
View File

@ -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 }}

View File

@ -1,5 +0,0 @@
language: c
compiler:
- gcc
- clang
script: make