diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dfba57c..27c6004 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,8 +47,10 @@ jobs: cmake git libxml2 + meson qt6-base qt6-tools + gtk3 ) pacman -S --noconfirm ${packages[@]} @@ -57,10 +59,11 @@ jobs: run: | apt-get update apt-get upgrade -y - apt-get install -y cmake clang g++ gcc git \ + apt-get install -y cmake clang g++ gcc git meson \ libglib2.0 libgl1-mesa-dev libxml2-dev pkg-config \ qt6-base-dev qt6-l10n-tools \ - qt6-tools-dev qt6-tools-dev-tools + qt6-tools-dev qt6-tools-dev-tools \ + libgtk-3-dev # These builds are executed on all runners - name: Build with gcc @@ -82,3 +85,16 @@ jobs: -B build-clang \ -S . cmake --build build-clang --verbose + + - name: Meson build with gcc + run: | + export CC=gcc + export CXX=g++ + meson setup build-meson-gcc --werror + meson compile -C build-meson-gcc + + - name: Run tests + run: | + build-meson-gcc/tests/t1000_add_xpath_node + build-meson-gcc/tests/t1001_nodenames +