-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
47 lines (43 loc) · 1.01 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
46
47
dist: trusty
sudo: require
language: cpp
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-8
- g++-8
- cmake
- libsdl2-dev
- libluajit-5.1-dev
- libcurl4-openssl-dev
# - libcurlpp-dev
- git
install: true
script:
# Link gcc-8 and g++-8 to their standard commands
- sudo ln -s /usr/bin/gcc-8 /usr/local/bin/gcc
- sudo ln -s /usr/bin/g++-8 /usr/local/bin/g++
# Export CC and CXX to tell cmake which compiler to use
- export CC=/usr/bin/gcc-8
- export CXX=/usr/bin/g++-8
# Check versions of gcc, g++ and cmake
- gcc -v && g++ -v && cmake --version
# Get and build curlpp
- git clone https://github.com/jpbarrette/curlpp.git
- cd curlpp
- git reset --hard 41b1325a752da73dcd390b6b9cf5c1b577451ecf
- cmake .
- sudo make install
- cd ..
# Get and build SDL_gpu
- git clone https://github.com/grimfang4/sdl-gpu.git sdlgpu
- cd sdlgpu
- cmake .
- sudo make install
- cd ..
# Build Riko4
- cmake .
- make