Using mod functions from htslib #111
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |