summaryrefslogtreecommitdiff
path: root/.travis/build-linux-clang
diff options
context:
space:
mode:
authornicoo <nicoo@debian.org>2020-02-23 15:31:23 +0100
committerNicolas Braud-Santoni <nicolas@braud-santoni.eu>2020-02-23 15:34:39 +0100
commit399de849155d9d77d1a5b325afa4b75550c55fb4 (patch)
tree7a04c6a11d4a92e12e0dfa5c3d6471ebd74af4dd /.travis/build-linux-clang
parent28215e6c161c70cb1bcae7d01195fefcffb09d32 (diff)
parentc923f422b1e455bdd8ec3bdb10d005e3bfbacfe0 (diff)
Update upstream source from tag 'upstream/1.3.1'
Update to upstream version '1.3.1' with Debian dir 96d0ec6cfbe8efa2e15111ccc5e79c78bd725385
Diffstat (limited to '.travis/build-linux-clang')
-rw-r--r--.travis/build-linux-clang22
1 files changed, 22 insertions, 0 deletions
diff --git a/.travis/build-linux-clang b/.travis/build-linux-clang
new file mode 100644
index 0000000..8938461
--- /dev/null
+++ b/.travis/build-linux-clang
@@ -0,0 +1,22 @@
1#!/bin/sh -eux
2
3${CC} --version
4
5# Check exports.
6(cd src && ./diff_exports.sh)
7
8# Build and install libcbor.
9git clone git://github.com/pjk/libcbor
10cd libcbor
11git checkout v0.5.0
12mkdir build
13(cd build && cmake ..)
14make -C build
15sudo make -C build install
16cd ..
17
18# Build, analyze, and install libfido2.
19mkdir build
20(cd build && scan-build cmake -DCMAKE_BUILD_TYPE=Debug ..)
21scan-build --status-bugs make -C build
22sudo make -C build install