File tree 3 files changed +13
-25
lines changed
3 files changed +13
-25
lines changed Original file line number Diff line number Diff line change 10
10
references :
11
11
name : Generate References
12
12
runs-on : ubuntu-22.04
13
+ strategy :
14
+ fail-fast : false
15
+ matrix :
16
+ version :
17
+ - " 39"
18
+ - " 40"
19
+ - " 41"
20
+ - " rawhide"
21
+ session :
22
+ - " gnome-xsession"
13
23
steps :
14
24
- uses : actions/checkout@v4
15
25
- name : Download Dependencies
19
29
- name : Build Burn-My-Windows
20
30
run : make
21
31
- name : Generate References
22
- run : sudo make references
32
+ run : sudo $GITHUB_WORKSPACE/tests/generate- references.sh -v ${{ matrix.version }} -s ${{ matrix.session }}
23
33
- uses : actions/upload-artifact@v3
24
34
with :
25
- name : references
35
+ name : references-${{ matrix.version }}-${{ matrix.session }}
26
36
path : tests/references/
Original file line number Diff line number Diff line change @@ -46,28 +46,6 @@ pot: $(JS_FILES) $(UI_FILES)
46
46
--output=po/$(NAME ) .pot \
47
47
$(JS_FILES ) $(UI_FILES )
48
48
49
- # This runs several tests in containerized versions of GNOME Shell.
50
- test :
51
- @ for version in 39 " rawhide" ; do \
52
- for session in " gnome-xsession" " gnome-wayland-nested" ; do \
53
- echo ; \
54
- echo " Running Tests on Fedora $$ version ($$ session)." ; \
55
- echo ; \
56
- ./tests/run-test.sh -s $$ session -v $$ version ; \
57
- done \
58
- done
59
-
60
- # This re-generates all reference images required by the tests.
61
- references :
62
- @ for version in 39 " rawhide" ; do \
63
- for session in " gnome-xsession" " gnome-wayland-nested" ; do \
64
- echo ; \
65
- echo " Generating References for Fedora $$ version ($$ session)." ; \
66
- echo ; \
67
- ./tests/generate-references.sh -s $$ session -v $$ version ; \
68
- done \
69
- done
70
-
71
49
# This removes all temporary files created with the other recipes.
72
50
clean :
73
51
rm -rf $(ZIP_NAME ) \
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ EFFECT_CROP="100x100+900+500"
60
60
PREFS_CROP=" 100x100+700+300"
61
61
62
62
# Run the container. For more info, visit https://github.com/Schneegans/gnome-shell-pod.
63
- POD=$( podman run --rm --cap-add=SYS_NICE --cap-add=IPC_LOCK -td " ${IMAGE} " )
63
+ POD=$( podman run --rm --cap-add=SYS_NICE --cap-add=IPC_LOCK --cap-add=CAP_SYS_ADMIN - td " ${IMAGE} " )
64
64
65
65
# Properly shutdown podman when this script is exited.
66
66
quit () {
You can’t perform that action at this time.
0 commit comments