From 7ab7dc1a29a9fee458e22ec1531132bb7d31a121 Mon Sep 17 00:00:00 2001 From: Johan Gunnarsson Date: Thu, 21 Dec 2023 11:02:39 +0100 Subject: [PATCH] Add build action --- .github/workflow/ci.yml | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflow/ci.yml diff --git a/.github/workflow/ci.yml b/.github/workflow/ci.yml new file mode 100644 index 0000000..73a6788 --- /dev/null +++ b/.github/workflow/ci.yml @@ -0,0 +1,41 @@ +name: btfs CI + +on: + push: + branches: [ 'master' ] + pull_request: + branches: [ 'master' ] + schedule: + - cron: '0 12 1 * *' + +jobs: + ubuntu: + runs-on: ubuntu-latest + name: 'Ubuntu (${{ matrix.image }})' + timeout-minutes: 10 + + strategy: + matrix: + image: + - 'ubuntu:latest' + - 'ubuntu:rolling' + - 'ubuntu:devel' + fail-fast: false + + container: + image: ${{ matrix.image }} + + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Install dependencies + env: + DEBIAN_FRONTEND: noninteractive + run: | + apt-get update + apt-get -y install build-essential g++ autoconf autoconf-archive automake libtool libtorrent-rasterbar-dev libfuse-dev libcurl4-openssl-dev + - name: Build + run: | + autoreconf -i + ./configure + make