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
2a61b70235
commit
063cb368df
1 changed files with 22 additions and 20 deletions
38
.github/workflows/build-project.yml
vendored
38
.github/workflows/build-project.yml
vendored
|
@ -60,18 +60,12 @@ jobs:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- name: Build Linux
|
|
||||||
if: matrix.os == 'ubuntu-latest'
|
|
||||||
working-directory: tnc
|
|
||||||
run: |
|
|
||||||
pyinstaller -F daemon.py -n daemon
|
|
||||||
pyinstaller -F main.py -n tnc
|
|
||||||
|
|
||||||
- name: Build codec2 Linux
|
- name: Build codec2 Linux
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
# working-directory: tnc
|
working-directory: tnc
|
||||||
run: |
|
run: |
|
||||||
cd ~
|
#cd ~
|
||||||
git clone https://github.com/drowe67/codec2.git
|
git clone https://github.com/drowe67/codec2.git
|
||||||
cd codec2 && mkdir build_linux && cd build_linux
|
cd codec2 && mkdir build_linux && cd build_linux
|
||||||
cmake ../
|
cmake ../
|
||||||
|
@ -79,22 +73,30 @@ jobs:
|
||||||
|
|
||||||
- name: Build LPCNet Linux
|
- name: Build LPCNet Linux
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
# working-directory: tnc
|
working-directory: tnc
|
||||||
run: |
|
run: |
|
||||||
cd ~
|
#cd ~
|
||||||
git clone https://github.com/drowe67/LPCNet
|
git clone https://github.com/drowe67/LPCNet
|
||||||
cd LPCNet && mkdir build_linux && cd build_linux
|
cd LPCNet && mkdir build_linux && cd build_linux
|
||||||
cmake -DCODEC2_BUILD_DIR=~/codec2/build_linux ../
|
cmake -DCODEC2_BUILD_DIR=~/tnc/codec2/build_linux ../
|
||||||
make
|
make
|
||||||
|
|
||||||
- name: ReBuild codec2 with LPCNet Linux
|
- name: ReBuild codec2 with LPCNet Linux
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
# working-directory: tnc
|
working-directory: tnc
|
||||||
run: |
|
run: |
|
||||||
cd ~/codec2/build_linux && rm -Rf *
|
cd ./codec2/build_linux && rm -Rf *
|
||||||
cmake -DLPCNET_BUILD_DIR=~/LPCNet/build_linux ..
|
cmake -DLPCNET_BUILD_DIR=~/tnc/LPCNet/build_linux ..
|
||||||
make
|
make
|
||||||
|
|
||||||
|
- name: Build Linux
|
||||||
|
if: matrix.os == 'ubuntu-latest'
|
||||||
|
working-directory: tnc
|
||||||
|
run: |
|
||||||
|
pyinstaller -F daemon.py -n daemon
|
||||||
|
pyinstaller -F main.py -n tnc
|
||||||
|
|
||||||
|
|
||||||
- name: LIST ALL FILES
|
- name: LIST ALL FILES
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
@ -110,16 +112,16 @@ jobs:
|
||||||
|
|
||||||
- name: Copy codec2 to TNC Linux
|
- name: Copy codec2 to TNC Linux
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
# working-directory: tnc
|
working-directory: tnc
|
||||||
run: |
|
run: |
|
||||||
cp -R ~/codec2 ./tnc/dist
|
cp -R ./codec2 ./tnc/dist
|
||||||
ls -R
|
ls -R
|
||||||
|
|
||||||
- name: Copy LPCNet to TNC Linux
|
- name: Copy LPCNet to TNC Linux
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
# working-directory: tnc
|
working-directory: tnc
|
||||||
run: |
|
run: |
|
||||||
cp -R ~/LPCNet ./tnc/dist
|
cp -R ./LPCNet ./tnc/dist
|
||||||
ls -R
|
ls -R
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue