updates #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: CI | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| run-example: | |
| name: Example | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| ref: master | |
| - name: Force Pull | |
| run: git pull origin master | |
| - name: Install Dependencies | |
| run: | | |
| sudo apt update && sudo apt upgrade -y && sudo apt install -y libjansson4 libjansson-dev make build-essential | |
| - name: Compile and run | |
| run: | | |
| make && make example |