-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.travis.yml
More file actions
25 lines (21 loc) · 758 Bytes
/
.travis.yml
File metadata and controls
25 lines (21 loc) · 758 Bytes
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
dist: bionic
language: cpp
compiler: clang
addons:
apt:
source:
- ubuntu-toolchain-r-test
- llvm-toolchain-bionic-7
packages:
- libgpiod-dev
- clang-7
- libc++abi-7-dev
- libc++-7-dev
- g++-8
before_script:
- wget http://mirrors.kernel.org/ubuntu/pool/universe/libg/libgpiod/libgpiod2_1.2-3_amd64.deb -O /tmp/libgpiod2_1.2-3_amd64.deb
- wget http://mirrors.kernel.org/ubuntu/pool/universe/libg/libgpiod/libgpiod-dev_1.2-3_amd64.deb -O /tmp/libgpiod-dev_1.2-3_amd64.deb
- sudo dpkg -i --force-conflicts /tmp/libgpiod2_1.2-3_amd64.deb
- sudo dpkg -i --force-conflicts /tmp/libgpiod-dev_1.2-3_amd64.deb
script:
- clang++ fanshim_driver.cpp -o fanshim_driver -O3 -std=c++17 -lstdc++fs -lgpiodcxx