@@ -18,66 +18,6 @@ permissions:
1818 contents : read
1919
2020jobs :
21- check-autotools :
22- name : Build with gcc and test
23- runs-on : ubuntu-22.04
24- steps :
25- - name : Install Dependencies
26- run : |
27- sudo apt-get update
28- sudo apt-get install -y libglib2.0 attr automake appstream-compose gettext autopoint bison dbus gtk-doc-tools \
29- libfuse-dev ostree libostree-dev libarchive-dev libcap-dev libattr1-dev libdw-dev libelf-dev \
30- libjson-glib-dev shared-mime-info desktop-file-utils libpolkit-agent-1-dev libpolkit-gobject-1-dev \
31- libseccomp-dev libsystemd-dev libxml2-utils libgpgme11-dev gobject-introspection \
32- libgirepository1.0-dev libappstream-dev libdconf-dev clang socat flatpak \
33- libcurl4-gnutls-dev libflatpak-dev libyaml-dev elfutils git patch libarchive-tools \
34- docbook-xsl xmlto xsltproc git-lfs
35- - name : Check out flatpak
36- uses : actions/checkout@v4
37- with :
38- submodules : true
39- - name : configure
40- run : ./autogen.sh
41- env :
42- CFLAGS : -fsanitize=undefined -fsanitize-undefined-trap-on-error -fsanitize=address -O2 -Wp,-D_FORTIFY_SOURCE=2
43- - name : Build flatpak
44- run : make -j $(getconf _NPROCESSORS_ONLN)
45- - name : Run tests
46- run : make check
47- env :
48- ASAN_OPTIONS : detect_leaks=0 # Right now we're not fully clean, but this gets us use-after-free etc
49- - name : Check distribution
50- run : make distcheck
51- env :
52- ASAN_OPTIONS : detect_leaks=0
53-
54- clang :
55- name : Build with clang
56- runs-on : ubuntu-22.04
57- steps :
58- - name : Install Dependencies
59- run : |
60- sudo apt-get update
61- sudo apt-get install -y libglib2.0 attr automake appstream-compose gettext autopoint bison dbus gtk-doc-tools \
62- libfuse-dev ostree libostree-dev libarchive-dev libcap-dev libattr1-dev libdw-dev libelf-dev \
63- libjson-glib-dev shared-mime-info desktop-file-utils libpolkit-agent-1-dev libpolkit-gobject-1-dev \
64- libseccomp-dev libsystemd-dev libxml2-utils libgpgme11-dev gobject-introspection \
65- libgirepository1.0-dev libappstream-dev libdconf-dev clang flatpak \
66- libcurl4-gnutls-dev libflatpak-dev libyaml-dev elfutils git patch libarchive-tools \
67- docbook-xsl xmlto xsltproc git-lfs
68- - name : Check out flatpak
69- uses : actions/checkout@v4
70- with :
71- submodules : true
72- - name : configure
73- # We disable introspection because it fails with clang: https://bugzilla.redhat.com/show_bug.cgi?id=1543295
74- run : ./autogen.sh --disable-introspection
75- env :
76- CC : clang
77- CFLAGS : -Werror=unused-variable
78- - name : Build flatpak
79- run : make -j $(getconf _NPROCESSORS_ONLN)
80-
8121 check-meson :
8222 name : Ubuntu meson build
8323 runs-on : ${{ matrix.os }}
0 commit comments