File tree Expand file tree Collapse file tree 3 files changed +18
-6
lines changed Expand file tree Collapse file tree 3 files changed +18
-6
lines changed Original file line number Diff line number Diff line change 8
8
push :
9
9
tags :
10
10
- ' *'
11
+ branches :
12
+ - ' dev-*'
11
13
schedule :
12
14
- cron : ' 0 0 * * *'
13
15
68
70
strategy :
69
71
matrix :
70
72
source : ${{ fromJson(needs.setup-vars.outputs.sources) }}
71
- build_with_x11 : [ "yes ", "no" ]
73
+ build_gui : [ "x11", "pgtk ", "no" ]
72
74
73
75
steps :
74
76
- name : Install fuse
@@ -96,14 +98,15 @@ jobs:
96
98
docker image ls -a
97
99
98
100
- name : Run and package
99
- run : ./run-and-package.sh builder-image:latest ./emacs-src BUILD_WITH_X11 =${{ matrix.build_with_x11 }}
101
+ run : ./run-and-package.sh builder-image:latest ./emacs-src BUILD_GUI =${{ matrix.build_gui }}
100
102
101
103
- name : Upload binary to release
102
104
uses : svenstaro/upload-release-action@v2
105
+ if : ${{ !contains(github.ref, 'dev-') }}
103
106
with :
104
107
repo_token : ${{ secrets.GITHUB_TOKEN }}
105
108
file : dist/Emacs.AppImage
106
- asset_name : Emacs-${{ matrix.source.name }}-${{ matrix.build_with_x11 == 'yes ' && 'x11 ' || 'nox' }}.AppImage
109
+ asset_name : Emacs-${{ matrix.source.name }}-${{ matrix.build_gui == 'no ' && 'nox ' || matrix.build_gui }}.AppImage
107
110
tag : ${{ github.event_name == 'schedule' && format('daily-master-build-{0}', needs.setup-vars.outputs.datetimestr) || github.ref }}
108
111
release_name : " ${{ github.event_name == 'schedule' && 'Daily master build' || 'Release build' }} ${{ needs.setup-vars.outputs.datetimestr }}"
109
112
prerelease : ${{ github.event_name == 'schedule' }}
Original file line number Diff line number Diff line change @@ -36,4 +36,5 @@ Tested in:
36
36
## Version string meanings
37
37
38
38
- ` x11 ` : built with X11 GUI support
39
+ - ` pgtk ` : built with PGTK GUI support, for wayland desktop
39
40
- ` nox ` : built without GUI support
Original file line number Diff line number Diff line change @@ -14,14 +14,22 @@ ARGS=""
14
14
ARGS+=" --disable-locallisppath"
15
15
ARGS+=" --with-native-compilation=aot --with-json --with-threads --with-sqlite3 --with-tree-sitter"
16
16
ARGS+=" --with-dbus --with-xml2 --with-modules --with-libgmp --with-gpm --with-lcms2"
17
- if [ " $BUILD_WITH_X11 " = " yes" ]; then
17
+
18
+ if [ " $BUILD_GUI " = " pgtk" ]; then
19
+ ARGS+=" --with-pgtk --without-x --without-gconf --without-ns"
20
+ elif [ " $BUILD_GUI " = " x11" ]; then
18
21
ARGS+=" --with-x --without-pgtk --without-gconf --with-x-toolkit=gtk3"
19
- ARGS+=" --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-imagemagick --with-webp"
20
- ARGS+=" --with-xft --with-cairo --with-harfbuzz --with-libotf --without-m17n-flt"
22
+ ARGS+=" --with-xft"
21
23
else
22
24
ARGS+=" --without-x --without-pgtk --without-ns"
23
25
fi
24
26
27
+ if [ " $BUILD_GUI " != " no" ]; then
28
+ ARGS+=" --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-imagemagick --with-webp"
29
+ ARGS+=" --with-harfbuzz --with-cairo --with-libotf --without-m17n-flt"
30
+ fi
31
+
32
+
25
33
env \
26
34
PATH=$DIST_APPDIR /bin:$PATH \
27
35
LD_LIBRARY_PATH=$DIST_APPDIR /lib \
You can’t perform that action at this time.
0 commit comments