@@ -48,31 +48,32 @@ jobs:
4848 - ubuntu:jammy
4949 - ubuntu:focal
5050 - ubuntu:bionic
51- - ubuntu:xenial
51+ # Meson version on Ubuntu Xenial is really too old
52+ # - ubuntu:xenial
5253 cross_compile : [""]
5354 variant : [""]
5455 include :
5556 # Debian 32-bit builds
5657 - container : " debian:testing"
5758 arch : i386
5859 family : x86
59- compiler : gcc -m32
60+ compiler : gcc
6061 cross_compile : i686-linux-gnu
6162 pkg_config_path : /usr/lib/i386-linux-gnu/pkgconfig
6263 variant : i386
6364
6465 - container : " debian:stable"
6566 arch : i386
6667 family : x86
67- compiler : gcc -m32
68+ compiler : gcc
6869 cross_compile : i686-linux-gnu
6970 pkg_config_path : /usr/lib/i386-linux-gnu/pkgconfig
7071 variant : i386
7172
7273 - container : " debian:bookworm"
7374 arch : i386
7475 family : x86
75- compiler : gcc -m32
76+ compiler : gcc
7677 cross_compile : i686-linux-gnu
7778 pkg_config_path : /usr/lib/i386-linux-gnu/pkgconfig
7879 variant : i386
@@ -203,13 +204,13 @@ jobs:
203204
204205 # i386 build on x86_64 only requires passing -m32 to CFLAGS & LDFLAGS
205206 - name : Meson init for i386
206- if : ${{ matrix.container != 'ubuntu:xenial' && matrix. variant == 'i386' }}
207+ if : ${{ matrix.variant == 'i386' }}
207208 run : |
208209 mkdir build
209210 CFLAGS="-m32" LDFLAGS="-m32" meson setup . build
210211
211212 - name : Meson init with cross compile
212- if : ${{ matrix.container != 'ubuntu:xenial' && matrix. variant == 'cross-compile' }}
213+ if : ${{ matrix.variant == 'cross-compile' }}
213214 run : |
214215 # Generate cross compile file (see https://mesonbuild.com/Cross-compilation.html#cross-compilation)
215216 echo "[binaries]" > cross.txt
@@ -229,18 +230,13 @@ jobs:
229230 meson setup --cross-file cross.txt . build
230231
231232 - name : Meson init
232- if : ${{ matrix.container != 'ubuntu:xenial' && matrix. variant == '' }}
233+ if : ${{ matrix.variant == '' }}
233234 run : |
234235 mkdir build
235- # Ubuntu Xenial Meson version doesn't support meson setup, so use old way by default
236- meson . build
237-
238- - name : Ninja build
239- if : ${{ matrix.container != 'ubuntu:xenial' }}
240- run : ninja -C build
236+ meson setup . build
241237
242238 - name : Compile
243- run : make -j$(nproc)
239+ run : ninja -C build
244240
245241 - name : Install
246- run : make install
242+ run : ninja -C build install
0 commit comments