You've already forked OpenUxAS-SoI
mirror of
https://github.com/AdaCore/OpenUxAS-SoI.git
synced 2026-02-12 13:04:49 -08:00
29 lines
875 B
Bash
29 lines
875 B
Bash
mkdir -p ~/.local/bin
|
|
export PATH=~/.local/bin:$PATH
|
|
|
|
# install verion of Meson that is compatible with UxAS build
|
|
curl -L -s https://github.com/mesonbuild/meson/archive/0.45.0.zip -o meson.zip
|
|
unzip -q meson.zip
|
|
pushd meson-0.45.0; python3.6 setup.py install --user; popd
|
|
meson --version
|
|
|
|
# download newer Ninja than is packaged in repos
|
|
curl -L -s https://github.com/ninja-build/ninja/releases/download/v1.7.2/ninja-linux.zip -o ninja.zip
|
|
unzip -q ninja.zip
|
|
mv ninja ~/.local/bin
|
|
ninja --version
|
|
|
|
# clone, build, and run LmcpGen
|
|
git clone https://github.com/afrl-rq/LmcpGen.git ../LmcpGen
|
|
pushd ../LmcpGen; ant jar; popd
|
|
sh RunLmcpGen.sh
|
|
|
|
# process the wraps and their patches
|
|
./prepare
|
|
|
|
# build with -j2; Travis has 2 "cores"
|
|
meson build
|
|
ninja -C build -j2
|
|
# run test suite with *2 timeout multiplier, because Travis can be slow
|
|
meson test --print-errorlogs -C build -t 2
|