ci: add test to build dynamically linked debugcc

In 73b135d12589("meson: add option to build debugcc as a dynamically
linked binary") we added the ability to optionally build debugcc as a
dynamically linked binary. Add a test to ensure we can build debugcc as
a dynamically linked binary.

Signed-off-by: Christopher Obbard <christopher.obbard@linaro.org>
This commit is contained in:
Christopher Obbard committed 2025-12-07 20:22:01 +00:00
1 parent 069b0fd6df
commit e319493405
1 file changed
+11
+11
View File
@@ -86,3 +86,14 @@ jobs:
fi
ninja -C build
ninja -C build install
- name: Build (dynamically linked binary)
run: |
rm -rf build
if [ ${{ matrix.target }} = "native" ] ; then
meson setup . build --werror -Ddynamic-linking=true
else
meson setup --cross-file cross.txt . build --werror -Ddynamic-linking=true
fi
ninja -C build
ninja -C build install