update readme and install.sh to suit bookworm #508
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: build+test | |
on: [push, pull_request] | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: install deps | |
run: sudo apt-get update && sudo apt-get install libjson-c-dev libcurl4-openssl-dev libmicrohttpd-dev libgcrypt20-dev libsasl2-dev libunistring-dev libmosquitto-dev libgmock-dev libgtest-dev | |
- name: build libsml | |
run: git clone https://github.com/volkszaehler/libsml.git ../libsml && cd ../libsml && make | |
- uses: actions/checkout@v2 | |
- run: cmake . -DSML_HOME=../libsml/sml | |
- run: make | |
- run: ctest |