feat: appimage nightly ci

This commit is contained in:
Kingtous 2023-01-08 00:22:15 +08:00
parent 85e4e0fe4e
commit b28e4b0e60
4 changed files with 32 additions and 13 deletions

View File

@ -1162,7 +1162,7 @@ jobs:
- name: Prepare env
run: |
sudo apt update -y
sudo apt-get -qq install -y git curl wget nasm yasm libgtk-3-dev
sudo apt-get -qq install -y git curl wget nasm yasm libgtk-3-dev libarchive-tools
mkdir -p ./target/release/
- name: Restore the rustdesk lib file
@ -1217,7 +1217,8 @@ jobs:
shell: bash
run: |
for name in rustdesk*??.deb; do
mv "$name" "${name%%.deb}-${{ matrix.job.target }}-${{ matrix.job.os }}.deb"
# use cp to duplicate deb files to fit other packages.
cp "$name" "${name%%.deb}-${{ matrix.job.target }}-${{ matrix.job.os }}.deb"
done
- name: Publish debian package
@ -1285,6 +1286,27 @@ jobs:
files: |
res/rustdesk*.zst
- name: Build appimage package
if: ${{ matrix.job.extra-build-features == '' }}
shell: bash
run: |
# set-up appimage-builder
wget -O appimage-builder-x86_64.AppImage https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.1.0/appimage-builder-1.1.0-x86_64.AppImage
chmod +x appimage-builder-x86_64.AppImage
sudo mv appimage-builder-x86_64.AppImage /usr/local/bin/appimage-builder
# run appimage-builder
pushd appimage
appimage-builder --skip-tests
- name: Publish appimage package
if: ${{ matrix.job.extra-build-features == '' }}
uses: softprops/action-gh-release@v1
with:
prerelease: true
tag_name: ${{ env.TAG_NAME }}
files: |
./appimage/rustdesk-${{ env.VERSION }}-*.AppImage
- name: Publish fedora28/centos8 package
if: ${{ matrix.job.extra-build-features == '' }}
uses: softprops/action-gh-release@v1

View File

@ -25,17 +25,14 @@ AppDir:
- amd64
allow_unauthenticated: true
sources:
- sourceline: deb http://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted
- sourceline: deb http://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted
- sourceline: deb http://mirrors.ustc.edu.cn/ubuntu/ bionic universe
- sourceline: deb http://mirrors.ustc.edu.cn/ubuntu/ bionic-updates universe
- sourceline: deb http://mirrors.ustc.edu.cn/ubuntu/ bionic multiverse
- sourceline: deb http://mirrors.ustc.edu.cn/ubuntu/ bionic-updates multiverse
- sourceline: deb http://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic main restricted
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic universe
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic-updates universe
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic multiverse
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted
universe multiverse
- sourceline: deb http://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted
- sourceline: deb http://mirrors.ustc.edu.cn/ubuntu/ bionic-security universe
- sourceline: deb http://mirrors.ustc.edu.cn/ubuntu/ bionic-security multiverse
- sourceline: deb http://ppa.launchpad.net/pipewire-debian/pipewire-upstream/ubuntu
bionic main
include:

View File

@ -63,7 +63,7 @@ dependencies:
desktop_multi_window:
git:
url: https://github.com/Kingtous/rustdesk_desktop_multi_window
ref: e6d30bde98bd0f4ff50a130e5b1068138307bd03
ref: 057e6eb1bc7dcbcf9dafd1384274a611e4fe7124
freezed_annotation: ^2.0.3
flutter_custom_cursor: ^0.0.2
window_size:

BIN
res/64x64.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB