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: