forked from ggerganov/imgui-ws
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (32 loc) · 841 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
36
37
38
39
40
41
42
43
44
45
language: c
cache: apt
dist: bionic
sudo: required
os:
- linux
- osx
compiler:
- gcc
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test;
sudo apt-get update;
sudo apt-get install -qq build-essential;
sudo apt-get install -qq cmake;
sudo apt-get install -qq g -8;
sudo apt-get install -qq libssl-dev;
sudo update-alternatives --install /usr/bin/g g /usr/bin/g -8 90;
fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update;
brew install libuv;
fi
script:
- mkdir build && cd build
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
cmake .. ;
fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/[email protected] .. ;
fi
- make