diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cfefd0b..e1760e2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -36,11 +36,6 @@ jobs: run: | brew install python sqlite zstd samtools aria2 $(brew --prefix)/bin/pip3 install --break-system-packages pytest pytest-xdist - # test web_vfs using the older system libcurl - brew uninstall --ignore-dependencies curl - curl --version - which curl - otool -L $(which curl) - name: build run: | CXXFLAGS="-I$(brew --prefix)/include -I$(brew --prefix)/opt/sqlite/include" \ @@ -48,6 +43,14 @@ jobs: cmake -DCMAKE_BUILD_TYPE=${{ matrix.BUILD_TYPE }} \ -DCMAKE_PREFIX_PATH=$(brew --prefix)/opt/sqlite \ -B build . + # test web_vfs using the older system libcurl. Uninstall brew's curl only + # after configure: FetchContent clones dependencies with git during + # configure, and the runner's git itself loads brew's libcurl, so removing + # the keg earlier leaves git unable to run at all. + brew uninstall --ignore-dependencies curl + curl --version + which curl + otool -L $(which curl) cmake --build build -j 4 - name: ctest run: |