Do the configure step with everything "no", then with "yes"

Shared and static libraries are built in both cases.
The usrp driver is "no" in both cases because it's in an
external repository.
pull/1795/head
Daniele Forsi IU5HKX 2025-07-05 09:55:03 +02:00
rodzic e7daf11d5c
commit 55805c90c9
1 zmienionych plików z 37 dodań i 2 usunięć

Wyświetl plik

@ -12,6 +12,41 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
configure_args:
- >
--enable-html-matrix=no
--enable-parallel=no
--enable-pytest=no
--enable-shared=yes
--enable-static=yes
--enable-usrp=no
--enable-winradio=no
--with-cxx-binding=no
--with-indi=no
--with-libusb=no
--with-lua-binding=no
--with-perl-binding=no
--with-python-binding=no
--with-readline=no
--with-tcl-binding=no
--with-xml-support=no
- >
--enable-html-matrix=yes
--enable-parallel=yes
--enable-pytest=yes
--enable-shared=yes
--enable-static=yes
--enable-usrp=no
--enable-winradio=yes
--with-cxx-binding=yes
--with-indi=yes
--with-libusb=yes
--with-lua-binding=yes
--with-perl-binding=yes
--with-python-binding=yes
--with-readline=yes
--with-tcl-binding=yes
--with-xml-support=yes
steps:
- uses: actions/checkout@v4
@ -41,10 +76,10 @@ jobs:
run: grep README Makefile.am
- name: configure
if: runner.os != 'macOS'
run: ./configure --with-lua-binding --with-perl-binding --with-python-binding --with-tcl-binding
run: ./configure ${{ matrix.configure_args }}
- name: configure on macOS
if: runner.os == 'macOS'
run: ./configure --without-python-binding
run: ./configure ${{ matrix.configure_args }} --without-python-binding
- name: make
run: make -j 4
- name: make check