mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
more github action changes. Last run for this month...
This commit is contained in:
parent
fa9320df3e
commit
80a640d9df
27
.github/workflows/build_multiplatform.yml
vendored
27
.github/workflows/build_multiplatform.yml
vendored
|
@ -179,7 +179,7 @@ jobs:
|
||||||
cd build
|
cd build
|
||||||
cmake ../
|
cmake ../
|
||||||
make
|
make
|
||||||
mv ./src/libcodec2.so.1.0 /artifacts/${ matrix.libcodec2_os_name }
|
mv ./src/libcodec2.so.1.0 /artifacts/${artifact_name}
|
||||||
|
|
||||||
- name: Show recursive PWD
|
- name: Show recursive PWD
|
||||||
# Items placed in /artifacts in the container will be in
|
# Items placed in /artifacts in the container will be in
|
||||||
|
@ -187,11 +187,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
ls -al "${PWD}/artifacts"
|
ls -al "${PWD}/artifacts"
|
||||||
|
|
||||||
- name: Show recursive GITHUB WORKSPACE
|
|
||||||
# Items placed in /artifacts in the container will be in
|
|
||||||
# ${PWD}/artifacts on the host.
|
|
||||||
run: |
|
|
||||||
ls -R "${$GITHUB_WORKSPACE}/"
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
@ -222,8 +217,8 @@ jobs:
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
zip_name: windows_tnc
|
zip_name: windows_tnc
|
||||||
generator: Visual Studio 16 2019
|
generator: Visual Studio 16 2019
|
||||||
daemon_binary_name: daemon.dist\freedata-daemon.exe
|
daemon_binary_name: freedata-daemon.exe
|
||||||
tnc_binary_name: main.dist\freedata-tnc.exe
|
tnc_binary_name: freedata-tnc.exe
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
@ -300,11 +295,27 @@ jobs:
|
||||||
#pyinstaller freedata.spec
|
#pyinstaller freedata.spec
|
||||||
python3 -m nuitka --enable-plugin=numpy --onefile daemon.py -o ${{ matrix.daemon_binary_name }}
|
python3 -m nuitka --enable-plugin=numpy --onefile daemon.py -o ${{ matrix.daemon_binary_name }}
|
||||||
python3 -m nuitka --enable-plugin=numpy --onefile main.py -o ${{ matrix.tnc_binary_name }}
|
python3 -m nuitka --enable-plugin=numpy --onefile main.py -o ${{ matrix.tnc_binary_name }}
|
||||||
|
|
||||||
|
|
||||||
|
- name: Copy binaries unix linux
|
||||||
|
if: matrix.os != 'windows-latest'
|
||||||
|
working-directory: tnc
|
||||||
|
run: |
|
||||||
mkdir dist
|
mkdir dist
|
||||||
ls -R
|
ls -R
|
||||||
cp ${{ matrix.daemon_binary_name }} dist/
|
cp ${{ matrix.daemon_binary_name }} dist/
|
||||||
cp ${{ matrix.tnc_binary_name }} dist/
|
cp ${{ matrix.tnc_binary_name }} dist/
|
||||||
|
|
||||||
|
- name: Copy binaries windows
|
||||||
|
if: matrix.os == 'windows-latest'
|
||||||
|
working-directory: tnc
|
||||||
|
run: |
|
||||||
|
mkdir dist
|
||||||
|
ls -R
|
||||||
|
cp daemon.dist\${{ matrix.daemon_binary_name }} dist/
|
||||||
|
cp daemon.dist\${{ matrix.tnc_binary_name }} dist/
|
||||||
|
|
||||||
|
|
||||||
- name: Install Pyaudio Windows
|
- name: Install Pyaudio Windows
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
working-directory: tnc/lib/pyaudio/windows
|
working-directory: tnc/lib/pyaudio/windows
|
||||||
|
|
Loading…
Reference in a new issue