selfprivacy.org.app/appimage.yml
Alya Sirko 78f6dff028 Ops: refactor CI/CD pipeline, isolated Podman environment, various Linux builds (#112)
- New Podman-based building environment
  - caches everything
  - can build artifacts without the Internet
  - rootless, needs no system capabilities (only when uses FUSE, well)
  - the cost is it's VERY HUGE, but useful
- Refactored CI/CD pipeline
  - now it's a Python script, not a bunch of shell commands
  - optional nix flake for development environment and building a derivation
  - uploads all artifacts as a Gitea release
- New targets
  - AppImage bundle
  - Flatpak bundle
  - simple archive with binaries

Co-authored-by: Alya Sirko <alya@selfprivacy.org>
Reviewed-on: https://git.selfprivacy.org/kherel/selfprivacy.org.app/pulls/112
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
Co-authored-by: Alya Sirko <alya.sirko@tuta.io>
Co-committed-by: Alya Sirko <alya.sirko@tuta.io>
2022-09-10 18:10:27 +03:00

54 lines
2 KiB
YAML

# appimage-builder recipe see https://appimage-builder.readthedocs.io for details
version: 1
script:
- rm -rf AppDir || true
- cp -r build/linux/x64/release/bundle AppDir
- install -Dm644 assets/images/icon/logo.svg AppDir/usr/share/icons/hicolor/scalable/apps/pro.kherel.selfprivacy.svg
AppDir:
path: AppDir
app_info:
id: pro.kherel.selfprivacy
name: SelfPrivacy
icon: pro.kherel.selfprivacy
version: 0.6.0
exec: selfprivacy
exec_args: $@
apt:
arch:
- amd64
allow_unauthenticated: true
sources:
- sourceline: deb http://archive.ubuntu.com/ubuntu/ jammy main restricted
- sourceline: deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted
- sourceline: deb http://archive.ubuntu.com/ubuntu/ jammy universe
- sourceline: deb http://archive.ubuntu.com/ubuntu/ jammy-updates universe
- sourceline: deb http://archive.ubuntu.com/ubuntu/ jammy multiverse
- sourceline: deb http://archive.ubuntu.com/ubuntu/ jammy-updates multiverse
- sourceline: deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
- sourceline: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted
- sourceline: deb http://security.ubuntu.com/ubuntu/ jammy-security universe
- sourceline: deb http://security.ubuntu.com/ubuntu/ jammy-security multiverse
include:
- libjsoncpp-dev
- libsecret-1-0
- xdg-desktop-portal
test:
fedora-30:
image: appimagecrafters/tests-env:fedora-30
command: ./AppRun
debian-stable:
image: appimagecrafters/tests-env:debian-stable
command: ./AppRun
archlinux-latest:
image: appimagecrafters/tests-env:archlinux-latest
command: ./AppRun
centos-7:
image: appimagecrafters/tests-env:centos-7
command: ./AppRun
ubuntu-xenial:
image: appimagecrafters/tests-env:ubuntu-xenial
command: ./AppRun
AppImage:
arch: x86_64
update-information: guess