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