Replacing cJSON headers #19
This file contains hidden or 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: CRAW CI | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt update | |
| sudo apt install -y build-essential cmake libcurl4-openssl-dev valgrind libcjson-dev | |
| - name: Build project | |
| run: | | |
| cmake . | |
| make | |
| - name: Run example / test | |
| run: | | |
| ./CRAW_Test_1 || true | |
| - name: Run valgrind | |
| run: | | |
| valgrind --leak-check=full ./CRAW_Test_1 || true |