This repository has been archived by the owner on Dec 29, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b903112
commit 157d372
Showing
1 changed file
with
1 addition
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
with: | ||
|