Add CI for AppImage release #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linux Release | |
on: | |
push: | |
branches: | |
- "dev" | |
defaults: | |
run: | |
shell: bash | |
env: | |
SOURCE_DIR: ${{ github.workspace }} | |
ARTIFACT: marsh-mgr.AppImage | |
QT_VERSION: 6.5 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Generate MAVLink dialect | |
run: | | |
pip3 install future | |
python3 ${{ env.SOURCE_DIR }}/scripts/update_mavlink.py | |
- name: Install Qt | |
uses: jurplel/install-qt-action@v4 | |
with: | |
version: ${{ env.QT_VERSION }} | |
host: linux | |
target: desktop | |
arch: gcc_64 | |
dir: ${{ runner.temp }} | |
setup-python: false | |
- name: Build AppImage | |
run: ./scripts/build_appimage.sh | |
- name: Linux artefact | |
uses: actions/upload-artifact@v1 | |
with: | |
name: ${{ env.ARTIFACT }} | |
path: ${{ env.SOURCE_DIR }}/MARSH_Manager-x86_64.AppImage |