From 2ec0f0f57554f4e03f531248828faf70449c9a6c Mon Sep 17 00:00:00 2001 From: Sayafdine Said Date: Wed, 19 Feb 2025 12:02:42 +0100 Subject: [PATCH] ci: add github actions workflow --- .github/workflows/ci.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..7568181d --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,32 @@ +name: Build + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + build-check: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y build-essential libtool intltool autoconf automake libcurl4-openssl-dev \ + pkg-config libglib2.0-dev libgtk-3-dev libgoocanvas-2.0-dev + + - name: Run autoconf + run: ./autogen.sh + + - name: Build + run: make + + - name: Run tests + run: make check