-
Notifications
You must be signed in to change notification settings - Fork 18
/
.travis.yml
30 lines (25 loc) · 1.14 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
os: linux
dist: focal
sudo: required
language: cpp
compiler: clang
before_install:
- sudo add-apt-repository -y ppa:beineri/opt-qt-5.14.2-focal
- sudo apt-get update -qq
- sudo apt-get install libmicrohttpd-dev cmake qt514-meta-minimal libglu1-mesa-dev libsndfile1-dev libjack-jackd2-dev libasound2-dev -y
- source /opt/qt514/bin/qt514-env.sh
- sudo mv $(which llvm-config) $(which llvm-config)-7
- wget https://github.com/llvm/llvm-project/releases/download/llvmorg-11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04.tar.xz
- tar xf clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04.tar.xz
- sudo mv /usr/bin/llvm-config /usr/bin/llvm-config-10
- sudo ln -s $(pwd)/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/llvm-config /usr/bin/llvm-config
- git clone --single-branch --recurse-submodules -j 2 --depth 1 https://github.com/grame-cncm/faust.git
# - make -C faust/build cmake BACKENDS=all.cmake TARGETS=all.cmake CMAKEOPT="-DLLVM_CONFIG=$(pwd)/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/llvm-config"
- make -C faust all
- sudo make -C faust install
branches:
only:
- dev
- master
script:
- make -C Build