diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml new file mode 100644 index 0000000..c0bcc0f --- /dev/null +++ b/.github/workflows/c-cpp.yml @@ -0,0 +1,13 @@ +name: C/C++ CI + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Install dependencies + run: sudo apt-get install -y clang-tools check + - name: make + run: make diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 91d790e..0000000 --- a/.travis.yml +++ /dev/null @@ -1,10 +0,0 @@ -language: c -compiler: - - gcc - - clang -install: sudo apt-get install check -script: make test -notifications: - email: - on_success: change - on_failure: change diff --git a/README.md b/README.md index 91ab27e..042d3de 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # minmea, a lightweight GPS NMEA 0183 parser library -[![Build Status](https://travis-ci.org/kosma/minmea.svg?branch=master)](https://travis-ci.org/kosma/minmea) +[![C/C++ +CI](https://github.com/kosma/minmea/actions/workflows/c-cpp.yml/badge.svg)](https://github.com/kosma/minmea/actions/workflows/c-cpp.yml) Minmea is a minimalistic GPS parser library written in pure C intended for resource-constrained platforms, especially microcontrollers and other embedded