mirror of https://github.com/nirenjan/libx52.git
ci: Update build scripts to use meson instead of autotools
parent
f464c0b6d3
commit
6b3743359c
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@ brew install \
|
||||||
libusb \
|
libusb \
|
||||||
hidapi \
|
hidapi \
|
||||||
doxygen \
|
doxygen \
|
||||||
cmocka
|
cmocka \
|
||||||
|
meson
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue