-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
45 lines (45 loc) · 1.16 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
language: c++
before_install:
- sudo apt-get update -q
#compiler: gcc g++
sudo: true
# install:
# - libxrandr
# - libwrandr
dist: bionic
os: linux
env:
- COMPILER_NAME=gcc CXX=g++ CC=gcc
after_success:
- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
- chmod +x send.sh
- ./send.sh success $WEBHOOK_DISCORD
after_failure:
- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
- chmod +x send.sh
- ./send.sh failure $WEBHOOK_DISCORD
addons:
apt:
packages:
- libxrandr-dev
- libopenal-dev
- libudev-dev
- libflac-dev
- libvorbis-dev
- libogg-dev
- libgl1-mesa-glx
- libgl1-mesa-dev
- build-essential
#- libtinyxml2-dev
#- libsdl2-dev
#- libsdl2-net-dev
#- libfreetype6-dev
- git
sources: &sources
- ubuntu-toolchain-r-test
script:
- mkdir build
- cd build
#- export PATH=$TRAVIS_BUILD_DIR/tools/vcpkg:$PATH
- cmake -DTOOLCHAIN_FILE=toolchain/linux/Linux_GCC.cmake -DUSE_GLM=ON -DGL_RENDERER=ON -DVCPKG_INSTALLER=ON -DCMAKE_BUILD_TYPE=Debug ..
- cmake --build . -- -j4