forked from jdanecki/FractalCL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (31 loc) · 1.17 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
dist: xenial
language: c
compiler: gcc
sudo: required
install:
- sudo apt-get update -y; sudo apt-get install -y libsdl2-dev libsdl2-ttf-dev libegl1-mesa-dev libgles2-mesa-dev ocl-icd-opencl-dev libsdl2-gfx-dev libgmp-dev libmpfr-dev libgtk-3-dev
matrix:
include:
- os: linux
env: OPENCL=OFF
script:
- cmake -DFP_64_SUPPORT=ON -DSDL_ACCELERATED=OFF -DOPENCL_SUPPORT=OFF -DCMAKE_INSTALL_PREFIX=/usr -DVERSION=0.0.2 .
- make
- sudo make install
- FractalCL -t -i 1000
- os: linux
env: OPENCL=ON
script:
- cmake -DFP_64_SUPPORT=ON -DSDL_ACCELERATED=OFF -DOPENCL_SUPPORT=ON -DCMAKE_INSTALL_PREFIX=/usr -DVERSION=0.0.2 .
- make
- sudo make install
- FractalCL -c -i 1000
- make -C tests
- os: linux
env: FP_64_SUPPORT=OFF
script:
- cmake -DFP_64_SUPPORT=OFF -DSDL_ACCELERATED=OFF -DOPENCL_SUPPORT=ON -DCMAKE_INSTALL_PREFIX=/usr -DVERSION=0.0.2 .
- make
- sudo make install
- FractalCL -c -i 1000
- make -C tests