The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
577 B
22 lines
577 B
#!/bin/bash |
|
|
|
set -e |
|
|
|
msg() { echo -e "\x1b[1;32mINFO: \x1b[37m$*\x1b[0m"; } |
|
|
|
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then |
|
msg "Running OSX setup" |
|
brew update |
|
# Run one macOS build with pkg-config available (pulled in by qt), and the |
|
# other (unity=on) without pkg-config |
|
brew install qt ldc llvm ninja |
|
if [[ "$MESON_ARGS" =~ .*unity=on.* ]]; then |
|
which pkg-config && rm -f $(which pkg-config) |
|
fi |
|
python3 -m pip install jsonschema |
|
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then |
|
msg "Running Linux setup" |
|
docker pull mesonbuild/eoan |
|
fi |
|
|
|
msg "Setup finished"
|
|
|