Skip to content

Commit

Permalink
Create build-appimage.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
user414 authored Feb 7, 2024
1 parent 1ccfd18 commit 050d471
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build-appimage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: C/C++ AppImage

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build-appimage:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: install dependencies
run: |
sudo apt-get update
sudo apt-get install -y qt5-default qtdeclarative5-dev cmake
- name: configure
run: cmake . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
- name: build
run: make -j`nproc` install DESTDIR=AppDir
- name: Build AppImage
uses: AppImageCrafters/build-appimage-action@master
env:
UPDATE_INFO: gh-releases-zsync|AppImageCrafters|appimage-demo-qt5|latest|*x86_64.AppImage.zsync
with:
recipe: AppImageBuilder.yml
- uses: actions/upload-artifact@v2
with:
name: AppImage
path: './*.AppImage*'

0 comments on commit 050d471

Please sign in to comment.