diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..b1d9edc --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,20 @@ +name: Build + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build + run: cargo build --verbose diff --git a/README.md b/README.md index 63b89e1..a5ecbbf 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# fEval +# fEval [![Build](https://github.com/ivabus/feval/actions/workflows/build.yml/badge.svg?branch=master)](https://github.com/ivabus/feval/actions/workflows/build.yml) > Fast EVALuator @@ -108,4 +108,4 @@ Supported unary operators: ## License -This project is primarily distributed under the terms of the MIT license. \ No newline at end of file +This project is primarily distributed under the terms of the MIT license.