Verified Commit f7824983 authored by azubieta's avatar azubieta

rename ccpp action to AppImage

parent 39264146
name: AppImage CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-appimage:
runs-on: ubuntu-latest
container:
image: appimagecrafters/appimage-builder
steps:
- uses: actions/checkout@v2
- name: install dependencies
run: |
apt-get update
apt-get updagrade -y
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`
- name: pack
run: |
make install DESTDIR=AppDir
appimage-builder --skip-test
- uses: actions/upload-artifact@v2
with:
name: AppImage
path: './*.AppImage'
\ No newline at end of file
name: C/C++ CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-appimage:
runs-on: ubuntu-latest
container:
image: appimagecrafters/appimage-builder
steps:
- uses: actions/checkout@v2
- name: install dependencies
run: apt-get install -y qt5-default qtdeclarative5-dev cmake
- name: build-appimage
run: appimage-builder --skip-test
- uses: actions/upload-artifact@v2
with:
path: './*.AppImage*'
\ No newline at end of file
version: 1
script:
- cmake . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
- make install DESTDIR=AppDir
AppDir:
path: AppDir
app_info:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment