From 157d37264752eb7dcf96750d97d9b6d1d860eeee Mon Sep 17 00:00:00 2001 From: Srevin Saju Date: Mon, 14 Sep 2020 17:30:42 +0300 Subject: [PATCH] ci: fix release failed to generate --- .github/workflows/release.yml | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 14ec6041..016edd4e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -130,7 +130,7 @@ jobs: chmod +x scripts/display-ci.sh echo "echo Dummy scrcpy" | sudo tee -a /usr/bin/scrcpy sudo chmod +x /usr/bin/scrcpy - # /usr/bin/xvfb-run --auto-servernum ./scripts/display-ci.sh "$(realpath dist/*.AppImage)" + /usr/bin/xvfb-run --auto-servernum ./scripts/display-ci.sh "$(realpath dist/*.AppImage)" - name: Upload artifact @@ -201,33 +201,6 @@ jobs: mkdir dist mv guiscrcpy-min-$GUISCRCPY_VERSION.$GUISCRCPY_TYPE.$GUISCRCPY_GLIB_VERSION-$GUISCRCPY_MACHINE.AppImage* dist/. - - name: Install Destop Environment - run: | - echo "adapted from https://github.com/AppImage/appimage.github.io/blob/master/.travis.yml" - sudo apt-get update - sudo apt-get -qq -y install imagemagick libasound2-dev pulseaudio-utils alsa-utils alsa-oss libjack0 desktop-file-utils xmlstarlet xterm xvfb icewm x11-utils x11-apps netpbm xdotool libgl1-mesa-dri libgl1-mesa-dev mesa-utils libosmesa6 libsdl1.2-dev fonts-wqy-microhei libfile-mimeinfo-perl libx11-xcb1 libxcb-xkb1 libxcb-* libxcb-render-util0 libxkbcommon-x11-0 libxkbcommon0 > /dev/null # appstream # TODO: Cache me! - mkdir $HOME/.icewm/ - echo "ShowTaskBar = 0" > $HOME/.icewm/preferences - echo "TaskBarAutoHide = 1" > $HOME/.icewm/preferences - echo "TaskBarShowWorkspaces = 0" > $HOME/.icewm/preferences - echo "TaskBarShowAllWindows = 0" > $HOME/.icewm/preferences - echo "TaskBarShowClock = 0" > $HOME/.icewm/preferences - echo "TaskBarShowMailboxStatus = 0" > $HOME/.icewm/preferences - echo "TaskBarShowCPUStatus = 0" > $HOME/.icewm/preferences - echo "TaskBarShowWindowListMenu = 0" > $HOME/.icewm/preferences - - - - name: Run headless test - run: | - export LC_ALL=C.UTF-8 - export LANG=C.UTF-8 - export APPIMAGE_EXTRACT_AND_RUN=1 - chmod +x scripts/display-ci.sh - echo "echo Dummy scrcpy" | sudo tee -a /usr/bin/scrcpy - sudo chmod +x /usr/bin/scrcpy - /usr/bin/xvfb-run --auto-servernum ./scripts/display-ci.sh "$(realpath dist/*.AppImage)" - - - name: Upload artifact uses: actions/upload-artifact@v1.0.0 with: