Skip to content

Using mod functions from htslib #111

Using mod functions from htslib

Using mod functions from htslib #111

name: DNMTools distcheck (Ubuntu)
on:
workflow_dispatch:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
distcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Get version number
id: vn
run: |
awk '/AC_INIT/ {print "vn="$2}' configure.ac | sed "s/\[//; s/\]//; s/,//" >> "$GITHUB_OUTPUT"
env:
GH_TOKEN: ${{ github.token }}
- name: Update packages
run: sudo apt-get update
- name: Install dependencies
run: sudo apt-get install -y libhts-dev libgsl-dev samtools
- name: Generate configure script
run: ./autogen.sh
- name: configure
run: ./configure
- name: Generate the source archive
run: make dist
- name: Upload the archive
uses: actions/upload-artifact@v4
with:
name: dnmtools-${{ steps.vn.outputs.vn }}.tar.gz
path: dnmtools-${{ steps.vn.outputs.vn }}.tar.gz
- name: make distcheck
run: make -j4 distcheck