Skip to content

Commit

Permalink
Fixed ccpp workflow. Removed clang format check workflow.
Browse files Browse the repository at this point in the history
* Install autoconf with brew.
* Bumped up htslib version for macos.
  • Loading branch information
gkarthik committed Jun 19, 2024
1 parent ad95851 commit 94a9f24
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 26 deletions.
22 changes: 7 additions & 15 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,30 +57,22 @@ jobs:

build-macos:

runs-on: [ macos-latest ]
runs-on: [ macos-14 ]

steps:
- uses: actions/checkout@master
- name: install GNU autotools
run: |
curl -O http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz
tar zxvf autoconf-2.69.tar.gz
cd autoconf-2.69
./configure && make && sudo make install
brew install automake libtool
brew install autoconf automake libtool
- name: download htslib
run: wget https://github.com/samtools/htslib/archive/1.10.2.tar.gz
run: wget https://github.com/samtools/htslib/releases/download/1.12/htslib-1.12.tar.bz2
- name: untar
run: tar xf 1.10.2.tar.gz
run: tar xf htslib-1.12.tar.bz2
- name: install htslib
run: |
cd htslib-1.10.2/
curl -O http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
curl -O http://git.savannah.gnu.org/cgit/config.git/plain/config.guess
chmod +x config.guess config.sub
autoheader
autoconf
./configure --build=aarch64-apple-darwin --host=aarch64-apple-darwin
cd htslib-1.12/
autoreconf -i
./configure
make
sudo make install
- name: autoconf
Expand Down
11 changes: 0 additions & 11 deletions .github/workflows/clang-format-check.yml

This file was deleted.

0 comments on commit 94a9f24

Please sign in to comment.