]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
meson: Add build-tests to build-dev.ini
authorLucas De Marchi <lucas.de.marchi@gmail.com>
Thu, 5 Sep 2024 05:30:49 +0000 (00:30 -0500)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Fri, 6 Sep 2024 19:36:20 +0000 (14:36 -0500)
Developers are supposed to run tests to test their code.

Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/104
.github/workflows/main.yml
build-dev.ini

index 64bae277d3488a67fed6ad8a7bd9095bf28f6116..af503034246d37aee2483b090917ed5e4ae19ecc 100644 (file)
@@ -69,7 +69,7 @@ jobs:
 
       - name: configure (meson)
         if: ${{ matrix.build == 'meson' }}
-        run: mkdir build && cd build && meson setup --native-file ../build-dev.ini -D build-tests=true . ..
+        run: mkdir build && cd build && meson setup --native-file ../build-dev.ini . ..
 
       - name: configure (autotools)
         if: ${{ matrix.build == 'autotools' }}
index ed5c84efab56978044406d9f62405f911a827f03..39acced1868dfa0c529444c3e5b38652336e6dc5 100644 (file)
@@ -1,4 +1,5 @@
 [project options]
+build-tests = true
 debug-messages = true
 zstd = 'enabled'
 xz = 'enabled'