diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml new file mode 100644 index 0000000..0acddab --- /dev/null +++ b/.github/workflows/cmake.yml @@ -0,0 +1,23 @@ +name: ci + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: cmake + run: cmake -DCMAKE_CXX_FLAGS=-Werror . + + - name: make + run: make + + - name: release + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/v') + with: + files: fontbm diff --git a/README.md b/README.md index 4ea88f9..6db2e34 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ # fontbm -[BMFont](http://www.angelcode.com/products/bmfont/) compatible, cross-platform (lin/win/mac) command line bitmap font generator. +[BMFont](http://www.angelcode.com/products/bmfont/) compatible, cross-platform (linux/windows/mac) command line bitmap font generator. ![sample](/.github/img/sample0.png?raw=true) ![sample](/.github/img/sample1.png?raw=true) ## Status -| Linux/macOS | Windows | Quality | -|-------|---------|---------| -| [![Build Status](https://travis-ci.org/vladimirgamalyan/fontbm.svg)](https://travis-ci.org/vladimirgamalyan/fontbm) | [![Build status](https://ci.appveyor.com/api/projects/status/boq0olngopfabaac?svg=true)](https://ci.appveyor.com/project/vladimirgamalyan/fontbm) | [![Codacy Badge](https://api.codacy.com/project/badge/Grade/1771a443586e472393c33f3c5fddaf3a)](https://www.codacy.com/manual/vladimirgamalyan/fontbm?utm_source=github.com&utm_medium=referral&utm_content=vladimirgamalyan/fontbm&utm_campaign=Badge_Grade) | +| Linux | Windows | +|-------|---------| +| [![Actions Status](https://github.com/vladimirgamalyan/fontbm/workflows/ci/badge.svg)](https://github.com/vladimirgamalyan/fontbm/actions) | [![Build status](https://ci.appveyor.com/api/projects/status/boq0olngopfabaac?svg=true)](https://ci.appveyor.com/project/vladimirgamalyan/fontbm) | ## Usage