#!/bin/sh -ex
# Build script for https://jenkins.osmocom.org/

mkdir build
cd build
cmake \
	-DCMAKE_COMPILE_WARNING_AS_ERROR=ON \
	-DENABLE_SANITIZE=ON \
	-DSHOW_ASN_OUTPUT=ON \
	../
make -j$(nproc)
make test
