Skip to content

Commit 94a9f24

Browse files
committed
Fixed ccpp workflow. Removed clang format check workflow.
* Install autoconf with brew. * Bumped up htslib version for macos.
1 parent ad95851 commit 94a9f24

File tree

2 files changed

+7
-26
lines changed

2 files changed

+7
-26
lines changed

.github/workflows/ccpp.yml

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -57,30 +57,22 @@ jobs:
5757

5858
build-macos:
5959

60-
runs-on: [ macos-latest ]
60+
runs-on: [ macos-14 ]
6161

6262
steps:
6363
- uses: actions/checkout@master
6464
- name: install GNU autotools
6565
run: |
66-
curl -O http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz
67-
tar zxvf autoconf-2.69.tar.gz
68-
cd autoconf-2.69
69-
./configure && make && sudo make install
70-
brew install automake libtool
66+
brew install autoconf automake libtool
7167
- name: download htslib
72-
run: wget https://github.com/samtools/htslib/archive/1.10.2.tar.gz
68+
run: wget https://github.com/samtools/htslib/releases/download/1.12/htslib-1.12.tar.bz2
7369
- name: untar
74-
run: tar xf 1.10.2.tar.gz
70+
run: tar xf htslib-1.12.tar.bz2
7571
- name: install htslib
7672
run: |
77-
cd htslib-1.10.2/
78-
curl -O http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
79-
curl -O http://git.savannah.gnu.org/cgit/config.git/plain/config.guess
80-
chmod +x config.guess config.sub
81-
autoheader
82-
autoconf
83-
./configure --build=aarch64-apple-darwin --host=aarch64-apple-darwin
73+
cd htslib-1.12/
74+
autoreconf -i
75+
./configure
8476
make
8577
sudo make install
8678
- name: autoconf

.github/workflows/clang-format-check.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)