Skip to content

#137: Added required package #167

#137: Added required package

#137: Added required package #167

name: Nitrux Software Center AppImage
on:
push:
branches: [ master ]
jobs:
build-appimage:
runs-on: ubuntu-22.04
container:
image: ubuntu:jammy
env:
DEBIAN_FRONTEND: noninteractive
env:
BRANCH_MAUIMAN: v3.1.0
BRANCH_MAUIKIT: v3.1.0
BRANCH_MAUIKIT_FILEBROWSING: v3.1.0
steps:
- name: Install basic packages
run: apt-get update -q && apt-get -qy install sudo && apt-get -qy install curl wget gnupg python3-pip patchelf git squashfs-tools zsync
- name: Add required repo list
run: |
sudo touch /etc/apt/sources.list.d/neon.list
echo "deb http://archive.neon.kde.org/user jammy main" | sudo tee -a /etc/apt/sources.list.d/neon.list
curl 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xE6D4736255751E5D' | sudo apt-key add -
# sudo touch /etc/apt/sources.list.d/nitrux-repo.list
# echo "deb https://packagecloud.io/nitrux/repo/debian/ trixie main" | sudo tee -a /etc/apt/sources.list.d/nitrux-repo.list
# curl -L https://packagecloud.io/nitrux/repo/gpgkey | sudo apt-key add -
- name: Install appimagetool
run: |
wget -qc https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -O /opt/appimagetool
cd /opt/ && \
chmod +x appimagetool && \
sed -i 's|AI\x02|\x00\x00\x00|' appimagetool && \
./appimagetool --appimage-extract && \
mv /opt/squashfs-root /opt/appimagetool.AppDir && \
ln -s /opt/appimagetool.AppDir/AppRun /usr/local/bin/appimagetool && \
rm /opt/appimagetool
- name: Install AppImage Builder
run: |
pip3 install git+https://github.com/AppImageCrafters/appimage-builder.git
# Installation of appimage builder from pip is temporarily disabled since
# the fix related to pydpkg is not yet released and thus installing from master to avoid the issue
# run: sudo pip3 install appimage-builder==1.1.0
- uses: actions/checkout@v2
- name: Build AppImage
run: sudo -E appimage-builder --skip-tests --recipe nx-software-center-appimage.yml
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "continuous"
files: |
./*.AppImage*
if: github.ref == 'refs/heads/master'