docs: various readme updates #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI/CD for CMAKE Project | |
on: | |
push: | |
branches: | |
- "**" | |
jobs: | |
cmake-build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v4 | |
- name: Install CMake | |
uses: lukka/get-cmake@latest | |
with: | |
cmakeVersion: 3.27.0 | |
ninjaVersion: 1.11.1 | |
- name: Install Embedded Toolchain | |
uses: carlosperate/[email protected] | |
- name: Configure and Build Project | |
run: | | |
cmake -S . -B build -DBUILD_TESTING=y -DCONFIG_USE_SYSTEM_HEAP=y | |
cmake --build build | |
- name: Test Project | |
run: cd build && ctest | |
- name: Install Project | |
run: cd build && make install |