mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
fixed artifact path
This commit is contained in:
parent
4af4a3eebc
commit
fa9320df3e
24
.github/workflows/build_multiplatform.yml
vendored
24
.github/workflows/build_multiplatform.yml
vendored
|
@ -112,10 +112,10 @@ jobs:
|
||||||
include:
|
include:
|
||||||
- arch: armv7
|
- arch: armv7
|
||||||
distro: bullseye
|
distro: bullseye
|
||||||
libcodec2_os_name: libcodec2_ubuntu-bullseye_armv7.so
|
libcodec2_os_name: libcodec2_bullseye_armv7.so
|
||||||
- arch: armv7
|
- arch: armv7
|
||||||
distro: ubuntu_latest
|
distro: ubuntu_latest
|
||||||
libcodec2_os_name: libcodec2_ubuntu-latest_armv7.so
|
libcodec2_os_name: libcodec2_ubuntu_latest_armv7.so
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.1.0
|
- uses: actions/checkout@v2.1.0
|
||||||
|
@ -139,7 +139,7 @@ jobs:
|
||||||
|
|
||||||
# Pass some environment variables to the container
|
# Pass some environment variables to the container
|
||||||
env: | # YAML, but pipe character is necessary
|
env: | # YAML, but pipe character is necessary
|
||||||
artifact_name: libcodec2_${{ matrix.distro }}_${{ matrix.arch }}.so
|
artifact_name: ${{ matrix.libcodec2_os_name }}
|
||||||
|
|
||||||
# The shell to run commands with in the container
|
# The shell to run commands with in the container
|
||||||
shell: /bin/sh
|
shell: /bin/sh
|
||||||
|
@ -179,19 +179,25 @@ jobs:
|
||||||
cd build
|
cd build
|
||||||
cmake ../
|
cmake ../
|
||||||
make
|
make
|
||||||
mv ./src/libcodec2.so.1.0 /artifacts/${artifact_name}
|
mv ./src/libcodec2.so.1.0 /artifacts/${ matrix.libcodec2_os_name }
|
||||||
|
|
||||||
- name: Show the artifact
|
- name: Show recursive PWD
|
||||||
# Items placed in /artifacts in the container will be in
|
# Items placed in /artifacts in the container will be in
|
||||||
# ${PWD}/artifacts on the host.
|
# ${PWD}/artifacts on the host.
|
||||||
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:
|
||||||
name: ${{ matrix.libcodec2_os_name }}
|
name: ${{ matrix.libcodec2_os_name }}
|
||||||
#path: $GITHUB_WORKSPACE/codec2/artifacts/*
|
#path: $GITHUB_WORKSPACE/codec2/artifacts/*
|
||||||
path: ${PWD}/artifacts/*
|
path: artifacts/*
|
||||||
|
|
||||||
build_i686_x64_release:
|
build_i686_x64_release:
|
||||||
needs: [BUILD_ON_MULTIARCH, BUILD_ON_AMD64]
|
needs: [BUILD_ON_MULTIARCH, BUILD_ON_AMD64]
|
||||||
|
@ -216,8 +222,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: freedata-daemon.exe
|
daemon_binary_name: daemon.dist\freedata-daemon.exe
|
||||||
tnc_binary_name: freedata-tnc.exe
|
tnc_binary_name: main.dist\freedata-tnc.exe
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
@ -288,7 +294,7 @@ jobs:
|
||||||
- name: Display structure of downloaded files
|
- name: Display structure of downloaded files
|
||||||
run: ls -R
|
run: ls -R
|
||||||
|
|
||||||
- name: Build Linux binaries
|
- name: Build binaries
|
||||||
working-directory: tnc
|
working-directory: tnc
|
||||||
run: |
|
run: |
|
||||||
#pyinstaller freedata.spec
|
#pyinstaller freedata.spec
|
||||||
|
|
Loading…
Reference in a new issue