mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-28 00:57:18 +02:00
Use linuxdeploy
This commit is contained in:
parent
933db90bbe
commit
8b4c644614
2 changed files with 9 additions and 67 deletions
64
.github/appimage-builder.yml
vendored
64
.github/appimage-builder.yml
vendored
|
@ -1,64 +0,0 @@
|
||||||
version: 1
|
|
||||||
script:
|
|
||||||
- rm -rf AppDir || true
|
|
||||||
- mkdir -p AppDir/bin
|
|
||||||
- cp target/release/taskwarrior-tui AppDir/bin/taskwarrior-tui
|
|
||||||
|
|
||||||
AppDir:
|
|
||||||
path: ./AppDir
|
|
||||||
|
|
||||||
app_info:
|
|
||||||
id: org.taskwarrior-tui.taskwarrior-tui
|
|
||||||
name: taskwarrior-tui
|
|
||||||
icon: taskwarrior-tui
|
|
||||||
version: 0.1.0
|
|
||||||
exec: $APPDIR/usr/bin/taskwarrior-tui
|
|
||||||
exec_args: $@
|
|
||||||
|
|
||||||
apt:
|
|
||||||
arch: amd64
|
|
||||||
sources:
|
|
||||||
- sourceline: 'deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse'
|
|
||||||
key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3b4fe6acc0b21f32'
|
|
||||||
|
|
||||||
include: []
|
|
||||||
exclude: []
|
|
||||||
|
|
||||||
runtime:
|
|
||||||
env:
|
|
||||||
PATH: '${APPDIR}/usr/bin:${PATH}'
|
|
||||||
|
|
||||||
files:
|
|
||||||
exclude:
|
|
||||||
- usr/share/man
|
|
||||||
- usr/share/doc/*/README.*
|
|
||||||
- usr/share/doc/*/changelog.*
|
|
||||||
- usr/share/doc/*/NEWS.*
|
|
||||||
- usr/share/doc/*/TODO.*
|
|
||||||
|
|
||||||
test:
|
|
||||||
fedora:
|
|
||||||
image: appimagecrafters/tests-env:fedora-30
|
|
||||||
command: ./AppRun
|
|
||||||
use_host_x: true
|
|
||||||
debian:
|
|
||||||
image: appimagecrafters/tests-env:debian-stable
|
|
||||||
command: ./AppRun
|
|
||||||
use_host_x: true
|
|
||||||
arch:
|
|
||||||
image: appimagecrafters/tests-env:archlinux-latest
|
|
||||||
command: ./AppRun
|
|
||||||
use_host_x: true
|
|
||||||
centos:
|
|
||||||
image: appimagecrafters/tests-env:centos-7
|
|
||||||
command: ./AppRun
|
|
||||||
use_host_x: true
|
|
||||||
ubuntu:
|
|
||||||
image: appimagecrafters/tests-env:ubuntu-xenial
|
|
||||||
command: ./AppRun
|
|
||||||
use_host_x: true
|
|
||||||
|
|
||||||
AppImage:
|
|
||||||
update-information: None
|
|
||||||
sign-key: None
|
|
||||||
arch: x86_64
|
|
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
@ -182,9 +182,15 @@ jobs:
|
||||||
command: build
|
command: build
|
||||||
args: --release
|
args: --release
|
||||||
- name: Build AppImage
|
- name: Build AppImage
|
||||||
uses: AppImageCrafters/build-appimage-action@master
|
run: |
|
||||||
with:
|
wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
|
||||||
recipe: .github/appimage-builder.yml
|
wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage
|
||||||
|
chmod +x linuxdeploy-x86_64.AppImage
|
||||||
|
chmod +x appimagetool-x86_64.AppImage
|
||||||
|
mkdir -p AppDir/bin
|
||||||
|
cp target/release/taskwarrior-tui AppDir/bin/taskwarrior-tui
|
||||||
|
./linuxdeploy-x86_64.AppImage --appdir AppDir
|
||||||
|
./appimagetool-x86_64.AppImage AppDir/
|
||||||
|
|
||||||
snap:
|
snap:
|
||||||
name: Push to snap
|
name: Push to snap
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue