ci: Update build scripts to use meson instead of autotools

migrate-to-meson-build
nirenjan 2024-06-13 11:57:10 -07:00
parent f464c0b6d3
commit 6b3743359c
3 changed files with 7 additions and 8 deletions

View File

@ -2,13 +2,10 @@
# Run the build and tests # Run the build and tests
set -e set -e
./autogen.sh meson setup build
mkdir build
cd build cd build
../configure meson compile
make -j V=0 meson test
make -j check V=0
make -j distcheck
# Print bugreport output # Print bugreport output
./x52bugreport ./x52bugreport

View File

@ -10,6 +10,7 @@ brew install \
libusb \ libusb \
hidapi \ hidapi \
doxygen \ doxygen \
cmocka cmocka \
meson
exit 0 exit 0

View File

@ -14,6 +14,7 @@ sudo apt-get install -y \
libevdev-dev \ libevdev-dev \
doxygen \ doxygen \
libcmocka-dev \ libcmocka-dev \
faketime faketime \
meson
exit 0 exit 0