summaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 11c8b3289d924eb305685f8a2294ae3fded5a7bf (plain) (blame)
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
dist: focal
sudo: required
language: cpp
compiler: gcc
os: linux

addons:
    apt:
        packages:
        - cmake
        - g++
        - libgl1-mesa-dev
        - libglu1-mesa-dev

matrix:
    include:
    - name: "Debug build"
      env: BUILD_TYPE=Debug
    - name: "Release build"
      env: BUILD_TYPE=RelWithDebInfo

script:
    - mkdir build
    - cd build
    - cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DOPTICK_ENABLED=OFF
    - cmake --build .