Skip to content

Commit c5468ae

Browse files
authored
Migrate macOS CI to macos-12 runner (#735)
* Migrate macOS CI to macos-12 runner * Install autoconf and automake to compile htslib * Also install automake/autoconf for standalone Python build
1 parent f570702 commit c5468ae

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

Diff for: .github/workflows/macos.yml

+10-8
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ env:
1818
MACOSX_DEPLOYMENT_TARGET: "11"
1919
jobs:
2020
libtiledbvcf:
21-
# Stuck on macos-11 because of the htslib dependency. The htslib
22-
# configuration step fails on macos-12 and macos-13
23-
runs-on: macos-11
21+
runs-on: macos-12
2422
steps:
2523
- uses: actions/checkout@v4
24+
- name: Setup to build htslib from source
25+
run: brew install autoconf automake
2626
- name: Configure libtiledbvcf
2727
run: |
2828
cmake -S libtiledbvcf -B $(pwd)/libtiledbvcf/build \
@@ -64,7 +64,7 @@ jobs:
6464
# USAGE: run-cli-tests.sh <build-dir> <inputs-dir>
6565
libtiledbvcf/test/run-cli-tests.sh libtiledbvcf/build libtiledbvcf/test/inputs
6666
python:
67-
runs-on: macos-11
67+
runs-on: macos-12
6868
needs: libtiledbvcf
6969
env:
7070
DYLD_LIBRARY_PATH: "${{ github.workspace }}/dist/lib"
@@ -100,7 +100,7 @@ jobs:
100100
- name: Confirm linking
101101
run: otool -L /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/tiledbvcf/libtiledbvcf.cpython-*-darwin.so
102102
java:
103-
runs-on: macos-11
103+
runs-on: macos-12
104104
needs: libtiledbvcf
105105
steps:
106106
- uses: actions/checkout@v4
@@ -116,7 +116,7 @@ jobs:
116116
- name: Test
117117
run: cd apis/java && ./gradlew test
118118
spark:
119-
runs-on: macos-11
119+
runs-on: macos-12
120120
needs: libtiledbvcf
121121
steps:
122122
- uses: actions/checkout@v4
@@ -134,7 +134,7 @@ jobs:
134134
- name: Check format
135135
run: cd apis/spark && ./gradlew checkFormat
136136
spark3:
137-
runs-on: macos-11
137+
runs-on: macos-12
138138
needs: libtiledbvcf
139139
steps:
140140
- uses: actions/checkout@v4
@@ -152,11 +152,13 @@ jobs:
152152
- name: Check format
153153
run: cd apis/spark3 && ./gradlew checkFormat
154154
python-standalone:
155-
runs-on: macos-11
155+
runs-on: macos-12
156156
steps:
157157
- uses: actions/checkout@v4
158158
with:
159159
fetch-depth: 0 # fetch everything for python setuptools_scm
160+
- name: Setup to build htslib from source
161+
run: brew install autoconf automake
160162
- name: Set up Python
161163
uses: actions/setup-python@v5
162164
with:

0 commit comments

Comments
 (0)