From d27d6a520b04a9c32143e6ea0e76ce90c7764d55 Mon Sep 17 00:00:00 2001 From: John Marshall Date: Sun, 9 May 2021 22:54:58 +0100 Subject: [PATCH] Convert Travis CI to GitHub Actions Make an equivalent GitHub Actions workflow that tests compilation with both GCC and Clang. --- .github/workflows/ci.yaml | 21 +++++++++++++++++++++ .travis.yml | 5 ----- 2 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/ci.yaml delete mode 100644 .travis.yml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..b77bc16 --- /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 bwa + uses: actions/checkout@v2 + + - name: Compile with ${{ matrix.compiler }} + run: make CC=${{ matrix.compiler }} diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index e386b27..0000000 --- a/.travis.yml +++ /dev/null @@ -1,5 +0,0 @@ -language: c -compiler: - - gcc - - clang -script: make