From a4d5dcf50d2eb1ebcc6689b06110a74242c5e0a2 Mon Sep 17 00:00:00 2001 From: "J. Camilo G.C" Date: Mon, 15 May 2023 10:17:24 -0500 Subject: [PATCH] Buid action (#4) * Create build * Rename build to build.yml * Update build.yml * Update build.yml * Update README.md --- .github/workflows/build.yml | 25 +++++++++++++++++++++++++ README.md | 1 + 2 files changed, 26 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 00000000..b94c66bb --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,25 @@ +name: Build + +on: + workflow_dispatch: + push: + paths-ignore: + - 'doc/**' + - 'examples/**' + - '.vscode/**' + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout repository and submodules + uses: actions/checkout@v2 + with: + submodules: recursive + + - name: cmake preparation + run: mkdir build && cd build && cmake .. + + - name: build + working-directory: ./build + run: make VERBOSE=1 diff --git a/README.md b/README.md index 4f4a65a7..75445bba 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ [![MISRAC++2008](https://img.shields.io/badge/MISRAC++2008-Compliant-blue.svg?logo=verizon)](https://www.misra.org.uk/) [![CERT](https://img.shields.io/badge/CERT-Compliant-blue.svg?logo=cplusplus)](https://wiki.sei.cmu.edu/confluence/display/seccode/SEI+CERT+Coding+Standards) [![C++ Standard](https://img.shields.io/badge/STD-C++11-green.svg?logo=cplusplus)](https://en.cppreference.com/w/cpp/11) +[![Build](https://github.com/kmilo17pet/QuarkTS-cpp/actions/workflows/build.yml/badge.svg)](https://github.com/kmilo17pet/QuarkTS-cpp/actions/workflows/build.yml) [![Documentation](https://github.com/kmilo17pet/QuarkTS-cpp/actions/workflows/doxygen_gen.yml/badge.svg)](https://github.com/kmilo17pet/QuarkTS-cpp/actions/workflows/doxygen_gen.yml) [![arduino-library-badge](https://www.ardu-badge.com/badge/QuarkTS.svg?)](https://www.ardu-badge.com/QuarkTS) [![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg?logo=textpattern)](https://github.com/kmilo17pet/QuarkTS-cpp/graphs/commit-activity)