-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (32 loc) · 836 Bytes
/
.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
notifications:
email: false
language: cpp
dist: focal
sudo: required
addons:
apt:
update: true
packages:
- gcc
- cmake
- git
- libsfml-dev
- libgl1-mesa-dev
before_script:
- git clone https://github.com/ocornut/imgui.git
- cd imgui/
- git reset --hard e18abe3619cfa0eced163c027d0349506814816c
- cd ..
- git clone https://github.com/eliasdaler/imgui-sfml.git
- cd imgui-sfml
- git reset --hard 35185b16dade7f6237ccda82427682be4876db84
- mkdir build
- cd build
- cmake -DBUILD_SHARED_LIBS=ON -DIMGUI_DIR:FILEPATH=../imgui ..
- sudo cmake --build . --target install
- cd ../../
script:
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Debug ..
- cmake --build . --config Debug --target all -- -j