🔀 Merge pull request #261 from Schneegans/feature/update-ci
@@ -89,7 +89,7 @@ jobs:
|
||||
- name: Download Dependencies
|
||||
run: |
|
||||
sudo apt update -qq
|
||||
sudo apt install gettext -qq
|
||||
sudo apt install gettext imagemagick -qq
|
||||
- name: Build Burn-My-Windows
|
||||
run: make
|
||||
- name: Generate References
|
||||
@@ -115,6 +115,7 @@ jobs:
|
||||
- '34'
|
||||
- '35'
|
||||
- '36'
|
||||
- '37'
|
||||
session:
|
||||
- 'gnome-xsession'
|
||||
- 'gnome-wayland-nested'
|
||||
|
||||
@@ -46,7 +46,7 @@ pot: $(JS_FILES) $(UI_FILES)
|
||||
|
||||
# This runs several tests in containerized versions of GNOME Shell.
|
||||
test:
|
||||
@ for version in 32 33 34 35 36 ; do \
|
||||
@ for version in 32 33 34 35 36 37 ; do \
|
||||
for session in "gnome-xsession" "gnome-wayland-nested" ; do \
|
||||
echo ; \
|
||||
echo "Running Tests on Fedora $$version ($$session)." ; \
|
||||
@@ -57,7 +57,7 @@ test:
|
||||
|
||||
# This re-generates all reference images required by the tests.
|
||||
references:
|
||||
@ for version in 32 33 34 35 36 ; do \
|
||||
@ for version in 32 33 34 35 36 37 ; do \
|
||||
for session in "gnome-xsession" "gnome-wayland-nested" ; do \
|
||||
echo ; \
|
||||
echo "Generating References for Fedora $$version ($$session)." ; \
|
||||
|
||||
@@ -27,6 +27,8 @@
|
||||
# -v 33: GNOME Shell 3.38
|
||||
# -v 34: GNOME Shell 40
|
||||
# -v 35: GNOME Shell 41
|
||||
# -v 36: GNOME Shell 42
|
||||
# -v 37: GNOME Shell 43
|
||||
# -s session: This can either be "gnome-xsession" or "gnome-wayland-nested".
|
||||
|
||||
# Exit on error.
|
||||
@@ -96,8 +98,7 @@ set_setting() {
|
||||
# This makes a screen capture (cropped to $CROP) inside the container and stores it
|
||||
# on the host relative to this script with the given file name.
|
||||
capture() {
|
||||
do_in_pod import -window root -crop $CROP out.png
|
||||
podman cp "${POD}":/home/gnomeshell/out.png "${1}"
|
||||
podman cp "${POD}:/opt/Xvfb_screen0" - | tar xf - --to-command "convert xwd:- -crop ${CROP} ${1}"
|
||||
}
|
||||
|
||||
# This opens the extensions preferences dialog and captures two images: One during the
|
||||
@@ -134,11 +135,6 @@ podman cp "${EXTENSION}.zip" "${POD}:/home/gnomeshell"
|
||||
do_in_pod gnome-extensions install "${EXTENSION}.zip"
|
||||
|
||||
|
||||
# ----------------------- install gnome-terminal (this is used for testing the animations)
|
||||
|
||||
do_in_pod sudo dnf install -y gnome-terminal
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------- start GNOME Shell
|
||||
|
||||
# Starting with GNOME 40, there is a "Welcome Tour" dialog popping up at first launch.
|
||||
|
||||
|
After Width: | Height: | Size: 355 B |
|
After Width: | Height: | Size: 355 B |
|
After Width: | Height: | Size: 355 B |
|
After Width: | Height: | Size: 355 B |
|
After Width: | Height: | Size: 664 B |
|
After Width: | Height: | Size: 637 B |
|
After Width: | Height: | Size: 627 B |
|
After Width: | Height: | Size: 643 B |
|
After Width: | Height: | Size: 424 B |
|
After Width: | Height: | Size: 443 B |
|
After Width: | Height: | Size: 432 B |
|
After Width: | Height: | Size: 416 B |
|
After Width: | Height: | Size: 7.7 KiB |
|
After Width: | Height: | Size: 7.7 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 6.5 KiB |
|
After Width: | Height: | Size: 6.5 KiB |
|
After Width: | Height: | Size: 8.1 KiB |
|
After Width: | Height: | Size: 8.1 KiB |
|
After Width: | Height: | Size: 5.9 KiB |
|
After Width: | Height: | Size: 5.8 KiB |
|
After Width: | Height: | Size: 4.7 KiB |
|
After Width: | Height: | Size: 4.6 KiB |
|
After Width: | Height: | Size: 355 B |
|
After Width: | Height: | Size: 355 B |
|
After Width: | Height: | Size: 355 B |
|
After Width: | Height: | Size: 355 B |
|
After Width: | Height: | Size: 6.3 KiB |
|
After Width: | Height: | Size: 6.4 KiB |
|
After Width: | Height: | Size: 6.3 KiB |
|
After Width: | Height: | Size: 6.4 KiB |
|
After Width: | Height: | Size: 7.3 KiB |
|
After Width: | Height: | Size: 7.5 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 500 B |
|
After Width: | Height: | Size: 507 B |
|
After Width: | Height: | Size: 500 B |
|
After Width: | Height: | Size: 507 B |
|
After Width: | Height: | Size: 831 B |
|
After Width: | Height: | Size: 733 B |
|
After Width: | Height: | Size: 927 B |
|
After Width: | Height: | Size: 920 B |
|
After Width: | Height: | Size: 750 B |
|
After Width: | Height: | Size: 753 B |
|
After Width: | Height: | Size: 750 B |
|
After Width: | Height: | Size: 753 B |
|
After Width: | Height: | Size: 9.5 KiB |
|
After Width: | Height: | Size: 9.3 KiB |
|
After Width: | Height: | Size: 9.5 KiB |
|
After Width: | Height: | Size: 9.3 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 995 B |
|
After Width: | Height: | Size: 921 B |
|
After Width: | Height: | Size: 883 B |
|
After Width: | Height: | Size: 377 B |
|
After Width: | Height: | Size: 380 B |
|
After Width: | Height: | Size: 382 B |
|
After Width: | Height: | Size: 382 B |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
@@ -28,6 +28,8 @@
|
||||
# -v 33: GNOME Shell 3.38
|
||||
# -v 34: GNOME Shell 40
|
||||
# -v 35: GNOME Shell 41
|
||||
# -v 36: GNOME Shell 42
|
||||
# -v 37: GNOME Shell 43
|
||||
# -s session: This can either be "gnome-xsession" or "gnome-wayland-nested".
|
||||
|
||||
# Exit on error.
|
||||
@@ -154,16 +156,10 @@ do_in_pod wait-user-bus.sh > /dev/null 2>&1
|
||||
# ----------------------------------------------------- install the to-be-tested extension
|
||||
|
||||
echo "Installing extension."
|
||||
podman cp "tests/references" "${POD}:/home/gnomeshell/references"
|
||||
podman cp "${EXTENSION}.zip" "${POD}:/home/gnomeshell"
|
||||
do_in_pod gnome-extensions install "${EXTENSION}.zip"
|
||||
|
||||
|
||||
# ----------------------- install gnome-terminal (this is used for testing the animations)
|
||||
|
||||
do_in_pod sudo dnf install -y gnome-terminal
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------- start GNOME Shell
|
||||
|
||||
# Starting with GNOME 40, there is a "Welcome Tour" dialog popping up at first launch.
|
||||
|
||||