added github action

This commit is contained in:
Heng Li 2021-05-10 12:55:58 -04:00
parent ac146fe7bc
commit 76df351fa8
1 changed files with 21 additions and 0 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 minimap2
uses: actions/checkout@v2
- name: Compile with ${{ matrix.compiler }}
run: make CC=${{ matrix.compiler }}