From ec4e2602fae46412b356f4d77a45b51c1eb8822a Mon Sep 17 00:00:00 2001 From: Ivan Bushchik Date: Wed, 31 May 2023 10:33:28 +0300 Subject: [PATCH 1/2] Create build.yml --- .github/workflows/build.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/build.yml 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 From b7ff0d79336c8e50ed58a2ffebdbc4397d7f3b9e Mon Sep 17 00:00:00 2001 From: Ivan Bushchik Date: Wed, 31 May 2023 10:35:20 +0300 Subject: [PATCH 2/2] README.md: add badge --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.