From 76df351fa8e0049fef6007feb31fbe822e8c5ec3 Mon Sep 17 00:00:00 2001 From: Heng Li Date: Mon, 10 May 2021 12:55:58 -0400 Subject: [PATCH 1/2] added github action --- .github/workflows/ci.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..628acea --- /dev/null +++ b/.github/workflows/ci.yaml @@ -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 }} From 42a11e1d588be2ce4492528b0fa68e54dc2b6b87 Mon Sep 17 00:00:00 2001 From: Heng Li Date: Mon, 10 May 2021 12:58:25 -0400 Subject: [PATCH 2/2] Changed Travis to Github Actions in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0d40147..dafb655 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ [![GitHub Downloads](https://img.shields.io/github/downloads/lh3/minimap2/total.svg?style=social&logo=github&label=Download)](https://github.com/lh3/minimap2/releases) [![BioConda Install](https://img.shields.io/conda/dn/bioconda/minimap2.svg?style=flag&label=BioConda%20install)](https://anaconda.org/bioconda/minimap2) [![PyPI](https://img.shields.io/pypi/v/mappy.svg?style=flat)](https://pypi.python.org/pypi/mappy) -[![Build Status](https://travis-ci.org/lh3/minimap2.svg?branch=master)](https://travis-ci.org/lh3/minimap2) +[![Build Status](https://github.com/lh3/minimap2/actions/workflows/ci.yaml/badge.svg)](https://github.com/lh3/minimap2/actions) ## Getting Started ```sh git clone https://github.com/lh3/minimap2