Fix LibHTS.htell to use proper pointer arithmetic #967
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: test | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| name: ${{ matrix.os }} Ruby ${{ matrix.ruby }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: ["ubuntu", "macos", "windows"] | |
| ruby: ["3.4"] | |
| runs-on: ${{ matrix.os }}-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| bundler-cache: true | |
| - name: Install automake (macos) | |
| if: ${{ matrix.os == 'macos' }} | |
| run: | | |
| brew install automake libdeflate | |
| bundle exec rake htslib:build | |
| - name: Install libraries (ubuntu) | |
| if: ${{ matrix.os == 'ubuntu' }} | |
| run: | | |
| sudo apt update -y | |
| sudo apt install -yq libbz2-dev liblzma-dev libdeflate-dev libcurl4-openssl-dev | |
| bundle exec rake htslib:build | |
| - name: Update package databases (windows) | |
| if: ${{ matrix.os == 'windows' }} | |
| run: | | |
| ridk exec pacman -Syu --noconfirm | |
| - name: Build and test with Rake | |
| run: | | |
| bundle exec rake |