ソースを参照

build: remove AppImage (#294)

BREAKING CHANGE: AppImage is no longer available. This decision has been
made because it has become hard to maintain lately, and I don't have
time nor motivation to fix it.
tags/v0.10.11
Deuchnord 2年前
committed by GitHub
コミット
3bf4ed737c
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 4AEE18F83AFDEB23
3個のファイルの変更0行の追加120行の削除
  1. +0
    -48
      .github/workflows/appimage.yml
  2. +0
    -65
      AppImageBuilder.yml
  3. +0
    -7
      Makefile

+ 0
- 48
.github/workflows/appimage.yml ファイルの表示

@@ -1,48 +0,0 @@
name: AppImage

on:
pull_request:
branches: [master, features]
release:
types: [published]

jobs:
build-appimage:
name: Build
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Prepare environment
run: |
sudo gem install ronn
wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -O /usr/local/bin/appimagetool
sudo chmod +x /usr/local/bin/appimagetool
pip install -U pip poetry appimage-builder
poetry install

- name: Build wheel
run: |
make i18n build

- name: Build AppImage
run: |
make appimage

- name: Upload AppImage
uses: actions/upload-artifact@v3
with:
name: kosmorro.AppImage
path: dist/kosmorro-latest-x86_64.AppImage

- name: Upload AppImage version synchronization file
uses: actions/upload-artifact@v3
with:
name: kosmorro.AppImage.zsync
path: dist/kosmorro-latest-x86_64.AppImage.zsync

- name: Run basic command
run: |
chmod +x dist/kosmorro-latest-x86_64.AppImage
./dist/kosmorro-latest-x86_64.AppImage

+ 0
- 65
AppImageBuilder.yml ファイルの表示

@@ -1,65 +0,0 @@
# appimage-builder recipe see https://appimage-builder.readthedocs.io for details
version: 1

script: |
mkdir -p AppDir AppDir/usr/share/icons/hicolor/scalable/apps
cp kosmorro/assets/svg/kosmorro-icon.svg AppDir/usr/share/icons/kosmorro.svg
pip3 install --isolated --root="./AppDir" ./dist/kosmorro-*.whl

AppDir:
app_info:
id: space.kosmorro.cli
name: kosmorro
icon: kosmorro
version: latest
exec: usr/bin/python3
exec_args: $APPDIR/usr/local/bin/kosmorro $@

apt:
arch: amd64
allow_unauthenticated: true
sources:
- sourceline: deb http://archive.ubuntu.com/ubuntu/ focal main restricted
- sourceline: deb http://archive.ubuntu.com/ubuntu/ focal universe restricted
include:
- python3
- python3-certifi
- python3-dateutil

files:
include:
- /usr/bin/sh
- /usr/bin/bash
- /usr/bin/env
exclude:
- usr/share/man
- usr/share/doc/*/README.*
- usr/share/doc/*/changelog.*
- usr/share/doc/*/NEWS.*
- usr/share/doc/*/TODO.*

test:
fedora-30:
image: appimagecrafters/tests-env:fedora-33
command: ./AppRun --latitude=50.5824 --longitude=3.0624
use_host_x: true
debian-stable:
image: appimagecrafters/tests-env:debian-stable
command: ./AppRun --latitude=50.5824 --longitude=3.0624
use_host_x: true
archlinux-latest:
image: appimagecrafters/tests-env:archlinux-latest
command: ./AppRun --latitude=50.5824 --longitude=3.0624
use_host_x: true
centos-7:
image: appimagecrafters/tests-env:centos-7
command: ./AppRun --latitude=50.5824 --longitude=3.0624
use_host_x: true
ubuntu-xenial:
image: appimagecrafters/tests-env:ubuntu-xenial
command: ./AppRun --latitude=50.5824 --longitude=3.0624
use_host_x: true

AppImage:
arch: x86_64
update-information: gh-releases-zsync|Kosmorro|kosmorro|latest|Kosmorro-*x86_64.AppImage.zsync

+ 0
- 7
Makefile ファイルの表示

@@ -27,12 +27,5 @@ prepare-release: messages changelog
@echo
@echo "Before tagging, don't forget to update version number in CHANGELOG"

appdir:
appimage-builder --skip-tests
mv *.AppImage dist/
mv *.zsync dist/

appimage: appdir

clean:
rm -rf build dist appimage-builder-cache kosmorro.egg-info manpage/kosmorro.{1,7}{,.html}

読み込み中…
キャンセル
保存