Update build-project.yml

This commit is contained in:
DJ2LS 2021-09-02 20:15:33 +02:00 committed by GitHub
parent 9061eef65a
commit 6d555b9362
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,18 +43,18 @@ jobs:
pip3 install pyinstaller
pip3 install ujson
- name: Build Hamlib Python Binding
if: matrix.os == 'ubuntu-latest'
working-directory: tnc
run: |
sudo apt install wig libtool
cd ~
git clone https://github.com/Hamlib/Hamlib.git
cd Hamlib
./bootstrap
./configure --with-python-binding PYTHON_VERSION='3.9' --prefix=$HOME/local
make
make install
#- name: Build Hamlib Python Binding
# if: matrix.os == 'ubuntu-latest'
# working-directory: tnc
# run: |
# sudo apt install wig libtool
# cd ~
# git clone https://github.com/Hamlib/Hamlib.git
# cd Hamlib
# ./bootstrap
# ./configure --with-python-binding PYTHON_VERSION='3.9' --prefix=$HOME/local
# make
# make install
@ -100,12 +100,11 @@ jobs:
- name: Copy hamlib to TNC Linux
if: matrix.os == 'ubuntu-latest'
# working-directory: tnc
working-directory: tnc
run: |
cp -R ~/Hamlib ./tnc/dist
cp -R ~/hamlib ./tnc/dist
- name: Copy codec2 to TNC Linux
if: matrix.os == 'ubuntu-latest'
# working-directory: tnc