Skip to content

Commit

Permalink
Add build action
Browse files Browse the repository at this point in the history
  • Loading branch information
johang authored Dec 21, 2023
1 parent 0a35b06 commit 7ab7dc1
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflow/ci.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7ab7dc1

Please sign in to comment.