mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Update build-project.yml
This commit is contained in:
parent
3aff144d77
commit
b9906f0f7d
1 changed files with 37 additions and 3 deletions
40
.github/workflows/build-project.yml
vendored
40
.github/workflows/build-project.yml
vendored
|
@ -1,8 +1,8 @@
|
|||
name: Build/PROJECT
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
#tags:
|
||||
#- '*'
|
||||
|
||||
jobs:
|
||||
|
||||
|
@ -35,7 +35,7 @@ jobs:
|
|||
- name: Install Linux dependencies
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
run: |
|
||||
sudo apt install portaudio19-dev
|
||||
sudo apt install portaudio19-dev build-essential cmake
|
||||
python -m pip install --upgrade pip
|
||||
pip3 install pyaudio
|
||||
pip3 install psutil
|
||||
|
@ -49,6 +49,40 @@ jobs:
|
|||
pyinstaller -F daemon.py -n daemon
|
||||
pyinstaller -F main.py -n tnc
|
||||
|
||||
- name: Build codec2 Linux
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
# working-directory: tnc
|
||||
run: |
|
||||
cd ~
|
||||
git clone https://github.com/drowe67/codec2.git
|
||||
cd codec2 && mkdir build_linux && cd build_linux
|
||||
cmake ../
|
||||
make
|
||||
|
||||
- name: Build LPCNet Linux
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
# working-directory: tnc
|
||||
run: |
|
||||
cd ~
|
||||
git clone https://github.com/drowe67/LPCNet
|
||||
cd LPCNet && mkdir build_linux && cd build_linux
|
||||
cmake -DCODEC2_BUILD_DIR=~/codec2/build_linux ../
|
||||
make
|
||||
|
||||
- name: ReBuild codec2 with LPCNet Linux
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
# working-directory: tnc
|
||||
run: |
|
||||
cd ~/codec2/build_linux && rm -Rf *
|
||||
cmake -DLPCNET_BUILD_DIR=~/LPCNet/build_linux ..
|
||||
make
|
||||
|
||||
- name: Copy codec2 to TNC Linux
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
# working-directory: tnc
|
||||
run: |
|
||||
cp ~/codec2 ./tnc/dist
|
||||
ls -R
|
||||
|
||||
- name: Compress Linux
|
||||
shell: bash
|
||||
|
|
Loading…
Reference in a new issue