Excercise the detect logic for INDI on the macOS CI

libnova is available in brew, but libindi isn't available;
./configure will detect that and not build the INDI driver.
pull/1862/head
Daniele Forsi IU5HKX 2025-08-24 13:41:10 +02:00
rodzic 43d9b3d354
commit a0792e4f85
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -68,6 +68,7 @@ jobs:
run: | run: |
brew install autoconf brew install autoconf
brew install automake brew install automake
brew install libnova
brew install libtool brew install libtool
brew install grep brew install grep
brew install swig brew install swig
@ -86,7 +87,7 @@ jobs:
run: ./configure ${{ matrix.configure_args }} run: ./configure ${{ matrix.configure_args }}
- name: configure on macOS - name: configure on macOS
if: runner.os == 'macOS' if: runner.os == 'macOS'
run: ./configure ${{ matrix.configure_args }} --without-lua-binding PYTHON=/opt/homebrew/bin/python3 run: ./configure ${{ matrix.configure_args }} --with-indi=detect --without-lua-binding PYTHON=/opt/homebrew/bin/python3
- name: make - name: make
run: make -j 4 V=0 --no-print-directory run: make -j 4 V=0 --no-print-directory
- name: make distcheck - name: make distcheck
@ -94,4 +95,4 @@ jobs:
run: make distcheck V=0 --no-print-directory AM_DISTCHECK_CONFIGURE_FLAGS="${{ matrix.configure_args }} --without-perl-binding" run: make distcheck V=0 --no-print-directory AM_DISTCHECK_CONFIGURE_FLAGS="${{ matrix.configure_args }} --without-perl-binding"
- name: make distcheck on macOS - name: make distcheck on macOS
if: runner.os == 'macOS' if: runner.os == 'macOS'
run: make distcheck V=0 --no-print-directory AM_DISTCHECK_CONFIGURE_FLAGS="${{ matrix.configure_args }} --without-perl-binding --without-lua-binding --without-tcl-binding PYTHON=/opt/homebrew/bin/python3" run: make distcheck V=0 --no-print-directory AM_DISTCHECK_CONFIGURE_FLAGS="${{ matrix.configure_args }} --with-indi=detect --without-perl-binding --without-lua-binding --without-tcl-binding PYTHON=/opt/homebrew/bin/python3"