mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-25 09:18:54 -05:00
Install python manually.
This commit is contained in:
parent
9bd001c9ed
commit
441c47c35f
26
.github/workflows/mac.yml
vendored
26
.github/workflows/mac.yml
vendored
@ -23,11 +23,13 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
wget https://www.sdrplay.com/software/SDRplayAPI-macos-installer-universal-3.15.0.pkg
|
wget https://www.sdrplay.com/software/SDRplayAPI-macos-installer-universal-3.15.0.pkg
|
||||||
sudo installer -pkg SDRplayAPI-macos-installer-universal-3.15.0.pkg -target /
|
sudo installer -pkg SDRplayAPI-macos-installer-universal-3.15.0.pkg -target /
|
||||||
|
- name: Install python
|
||||||
|
run: |
|
||||||
|
wget https://www.python.org/ftp/python/3.12.7/python-3.12.7-macos11.pkg
|
||||||
|
sudo installer -pkg python-3.12.7-macos11.pkg -target /
|
||||||
- name: Install python packages for UHD
|
- name: Install python packages for UHD
|
||||||
run: |
|
run: |
|
||||||
python3 -m venv .venv
|
/usr/local/bin/python3.12 -m pip install numpy mako requests Cheetah3 setuptools
|
||||||
source .venv/bin/activate
|
|
||||||
python3 -m pip install numpy mako requests Cheetah3 setuptools
|
|
||||||
- name: Install Qt
|
- name: Install Qt
|
||||||
uses: jurplel/install-qt-action@v4
|
uses: jurplel/install-qt-action@v4
|
||||||
with:
|
with:
|
||||||
@ -37,12 +39,10 @@ jobs:
|
|||||||
modules: 'qtcharts qtscxml qt5compat qtlocation qtmultimedia qtpositioning qtserialport qtspeech qtwebsockets qtwebengine qtshadertools qtwebchannel'
|
modules: 'qtcharts qtscxml qt5compat qtlocation qtmultimedia qtpositioning qtserialport qtspeech qtwebsockets qtwebengine qtshadertools qtwebchannel'
|
||||||
- name: Configure SDRangel
|
- name: Configure SDRangel
|
||||||
run: |
|
run: |
|
||||||
source .venv/bin/activate
|
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
cmake .. -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_QT6=ON -DCMAKE_BUILD_TYPE=Release -DARCH_OPT=nehalem -DDEBUG_OUTPUT=ON -DENABLE_USRP=ON -DENABLE_MIRISDR=OFF -DBUILD_SERVER=OFF -DENABLE_EXTERNAL_LIBRARIES=ON -DBUNDLE=ON -DPKG_CONFIG_USE_CMAKE_PREFIX_PATH=TRUE -DPYTHON_EXECUTABLE=`pwd`/.venv/bin/python3
|
cmake .. -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_QT6=ON -DCMAKE_BUILD_TYPE=Release -DARCH_OPT=nehalem -DDEBUG_OUTPUT=ON -DENABLE_USRP=ON -DENABLE_MIRISDR=OFF -DBUILD_SERVER=OFF -DENABLE_EXTERNAL_LIBRARIES=ON -DBUNDLE=ON -DPKG_CONFIG_USE_CMAKE_PREFIX_PATH=TRUE -DPYTHON_EXECUTABLE=/usr/local/bin/python3.12
|
||||||
- name: Build SDRangel on Mac
|
- name: Build SDRangel on Mac
|
||||||
run: |
|
run: |
|
||||||
source .venv/bin/activate
|
|
||||||
cd build
|
cd build
|
||||||
make -j4 package
|
make -j4 package
|
||||||
- name: Get version
|
- name: Get version
|
||||||
@ -82,12 +82,13 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
wget https://www.sdrplay.com/software/SDRplayAPI-macos-installer-universal-3.15.0.pkg
|
wget https://www.sdrplay.com/software/SDRplayAPI-macos-installer-universal-3.15.0.pkg
|
||||||
sudo installer -pkg SDRplayAPI-macos-installer-universal-3.15.0.pkg -target /
|
sudo installer -pkg SDRplayAPI-macos-installer-universal-3.15.0.pkg -target /
|
||||||
|
- name: Install python
|
||||||
|
run: |
|
||||||
|
wget https://www.python.org/ftp/python/3.12.7/python-3.12.7-macos11.pkg
|
||||||
|
sudo installer -pkg python-3.12.7-macos11.pkg -target /
|
||||||
- name: Install python packages for UHD
|
- name: Install python packages for UHD
|
||||||
run: |
|
run: |
|
||||||
python3 -m venv .venv
|
/usr/local/bin/python3.12 -m pip install numpy mako requests Cheetah3 setuptools
|
||||||
source .venv/bin/activate
|
|
||||||
which python3
|
|
||||||
python3 -m pip install numpy mako requests Cheetah3 setuptools
|
|
||||||
- name: Install Qt
|
- name: Install Qt
|
||||||
uses: jurplel/install-qt-action@v4
|
uses: jurplel/install-qt-action@v4
|
||||||
with:
|
with:
|
||||||
@ -97,13 +98,10 @@ jobs:
|
|||||||
modules: 'qtcharts qtscxml qt5compat qtlocation qtmultimedia qtpositioning qtserialport qtspeech qtwebsockets qtwebengine qtshadertools qtwebchannel'
|
modules: 'qtcharts qtscxml qt5compat qtlocation qtmultimedia qtpositioning qtserialport qtspeech qtwebsockets qtwebengine qtshadertools qtwebchannel'
|
||||||
- name: Configure SDRangel
|
- name: Configure SDRangel
|
||||||
run: |
|
run: |
|
||||||
source .venv/bin/activate
|
|
||||||
which python3
|
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
cmake .. -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_QT6=ON -DCMAKE_BUILD_TYPE=Release -DDEBUG_OUTPUT=ON -DENABLE_USRP=ON -DENABLE_MIRISDR=OFF -DBUILD_SERVER=OFF -DENABLE_EXTERNAL_LIBRARIES=ON -DBUNDLE=ON -DPKG_CONFIG_USE_CMAKE_PREFIX_PATH=TRUE -DPYTHON_EXECUTABLE=`pwd`/.venv/bin/python3
|
cmake .. -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_QT6=ON -DCMAKE_BUILD_TYPE=Release -DDEBUG_OUTPUT=ON -DENABLE_USRP=ON -DENABLE_MIRISDR=OFF -DBUILD_SERVER=OFF -DENABLE_EXTERNAL_LIBRARIES=ON -DBUNDLE=ON -DPKG_CONFIG_USE_CMAKE_PREFIX_PATH=TRUE -DPYTHON_EXECUTABLE=/usr/local/bin/python3.12
|
||||||
- name: Build SDRangel on Mac
|
- name: Build SDRangel on Mac
|
||||||
run: |
|
run: |
|
||||||
source .venv/bin/activate
|
|
||||||
cd build
|
cd build
|
||||||
make -j3 package
|
make -j3 package
|
||||||
- name: Get version
|
- name: Get version
|
||||||
|
Loading…
Reference in New Issue
Block a user