Skip to content

Commit

Permalink
Create ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmark authored Jan 28, 2024
1 parent b57f5f2 commit 4a3e6ac
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Compile and Test

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
APT_PACKAGES: |
autoconf \
automake \
libgcrypt-dev \
libfuse-dev \
libgmp-dev \
libreadline-dev \
libtool \
libtool-bin \
libncurses-dev
jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install --assume-yes --no-install-recommends ${{ env.APT_PACKAGES }}
- name: Bootstrap
run: ./bootstrap
- name: Configure
run: ./configure
- name: Compile
run: make
- name: Distribution check
run: make distcheck

0 comments on commit 4a3e6ac

Please sign in to comment.