Adding a new section keeps the array sorted and merge sections if nec… #89
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: CMake | |
on: [push] | |
env: | |
BUILD_TYPE: Release | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- name: Setup Dependencies | |
run: | | |
sudo apt install -y -qq libjansson-dev | |
- name: Configure | |
shell: bash | |
working-directory: ${{github.workspace}} | |
run: cmake -Bbuild -S . -DCMAKE_BUILD_TYPE=$BUILD_TYPE | |
- name: Build | |
working-directory: ${{github.workspace}} | |
shell: bash | |
run: cmake --build ./build --config $BUILD_TYPE | |
- name: Test | |
working-directory: ${{github.workspace}} | |
shell: bash | |
run: cmake --build ./build --target test |