Skip to content

Commit

Permalink
replace travis with github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
r00t- committed Mar 14, 2021
1 parent 7787266 commit 8a90949
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 108 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/build+test.yml
@@ -0,0 +1,15 @@
name: build+test
on: [push]
jobs:
build:
runs-on: ubuntu-latest

steps:
- name: install deps
run: sudo apt-get install libjson-c-dev libcurl4-openssl-dev libmicrohttpd-dev libgcrypt20-dev libsasl2-dev libunistring-dev libmosquitto-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
107 changes: 0 additions & 107 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion src/local.cpp
Expand Up @@ -134,7 +134,7 @@ int handle_request(void *cls, struct MHD_Connection *connection, const char *url
// mapping between meters and channels
MapContainer *mappings = static_cast<MapContainer *>(cls);

struct MHD_Response *response;
struct MHD_Response *response = NULL;
const char *mode = MHD_lookup_connection_value(connection, MHD_GET_ARGUMENT_KIND, "mode");

try {
Expand Down

0 comments on commit 8a90949

Please sign in to comment.