Build AppImage as part of CI workflow.
parent
4bf6914df2
commit
689592a109
|
@ -14,7 +14,45 @@ env:
|
||||||
BUILD_TYPE: Debug
|
BUILD_TYPE: Debug
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
dist:
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install required packages
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
sudo apt-get install libpulse-dev libspeexdsp-dev libsamplerate0-dev sox git portaudio19-dev libhamlib-dev libasound2-dev libao-dev libgsm1-dev libsndfile-dev xvfb pipewire pulseaudio-utils pipewire-pulse wireplumber metacity at-spi2-core octave octave-signal libwxgtk3.2-dev libdbus-1-dev
|
||||||
|
|
||||||
|
- name: Install Python required modules
|
||||||
|
shell: bash
|
||||||
|
working-directory: ${{github.workspace}}
|
||||||
|
run: |
|
||||||
|
python3 -m venv rade-venv
|
||||||
|
. ./rade-venv/bin/activate
|
||||||
|
pip3 install torch torchaudio --index-url https://download.pytorch.org/whl/cpu
|
||||||
|
pip3 install matplotlib
|
||||||
|
|
||||||
|
- name: Build freedv-gui using PulseAudio
|
||||||
|
shell: bash
|
||||||
|
working-directory: ${{github.workspace}}
|
||||||
|
run: |
|
||||||
|
. ./rade-venv/bin/activate
|
||||||
|
BUILD_TYPE=RelWithDebInfo ./build_linux.sh
|
||||||
|
|
||||||
|
- name: Build AppImage
|
||||||
|
shell: bash
|
||||||
|
working-directory: ${{github.workspace}}/appimage
|
||||||
|
run: |
|
||||||
|
./make-appimage.sh
|
||||||
|
|
||||||
|
- name: Upload AppImage
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: FreeDV-x86_64.AppImage
|
||||||
|
path: ${{github.workspace}}/appimage/FreeDV-x86_64.AppImage
|
||||||
|
|
||||||
|
test:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -22,6 +60,8 @@ jobs:
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
|
needs: dist
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue