Release 1.16.0 #116
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
| # Derived from GitHub's c-cpp.yml file | |
| name: Autoconf CI | |
| on: [push, pull_request] | |
| jobs: | |
| linux-build: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| # The default for anything that doesn't override it (eg htslib) | |
| working-directory: ./iolib | |
| steps: | |
| - name: io_lib checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| path: iolib | |
| - name: deps | |
| working-directory: . | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y --no-install-suggests --no-install-recommends zlib1g-dev libdeflate-dev libbz2-dev liblzma-dev libcurl4-gnutls-dev libssl-dev | |
| - name: htslib checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: samtools/htslib | |
| ref: master | |
| submodules: true | |
| path: hidden-htslib | |
| - name: htslib build | |
| working-directory: hidden-htslib | |
| run: | | |
| autoreconf -i && ./configure --prefix=/usr && make -j5 | |
| sudo make install | |
| - name: configure | |
| run: ./bootstrap; ./configure; # CC="gcc -fsanitize=address" | |
| - name: make | |
| run: make -j5 | |
| - name: make check | |
| run: make check | |
| #- name: make distcheck | |
| # run: make distcheck | |
| osx-build: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Update Homebrew packages | |
| run: | | |
| brew update --auto-update | |
| brew install --overwrite autoconf automake libtool htslib libdeflate | |
| - name: configure | |
| run: ./bootstrap; ./configure CPPFLAGS=-I/opt/homebrew/include --with-htslib=/opt/homebrew | |
| - name: make | |
| run: make -j5 | |
| - name: make check | |
| run: make check |