From a253788f2846afbab9554f6743713824a6f8aaf9 Mon Sep 17 00:00:00 2001 From: John Levon Date: Mon, 7 Dec 2020 13:06:55 +0000 Subject: replace travis with github actions (#171) Travis is closing down their free tier; stop using it. Signed-off-by: John Levon Reviewed-by: Swapnil Ingle --- .github/workflows/pull_request.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/pull_request.yml (limited to '.github') diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml new file mode 100644 index 0000000..4b6610c --- /dev/null +++ b/.github/workflows/pull_request.yml @@ -0,0 +1,19 @@ +name: pull_request +on: pull_request +jobs: + ubuntu-20: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + - name: pre-push + run: | + sudo apt-get -y install libjson-c-dev libcmocka-dev + make pre-push VERBOSE=1 + ubuntu-18: + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v2 + - name: pre-push + run: | + sudo apt-get -y install libjson-c-dev libcmocka-dev + make pre-push VERBOSE=1 -- cgit v1.1