forked from cryptodev-linux/cryptodev-linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
34 lines (34 loc) · 734 Bytes
/
.travis.yml
File metadata and controls
34 lines (34 loc) · 734 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
26
27
28
29
30
31
32
33
34
---
language: c
matrix:
include:
# Ubuntu 18.04 + gcc
- os: linux
dist: bionic
compiler: gcc
# Ubuntu 18.04 + clang
- os: linux
dist: bionic
compiler: clang
# Ubuntu 16.04 + gcc
- os: linux
dist: xenial
compiler: gcc
# Ubuntu 16.04 + clang
- os: linux
dist: xenial
compiler: clang
before_install:
- |
sudo apt-get -y install "linux-headers-$(uname -r)"
script:
- |
make -j"$(nproc)"
sudo make install
sudo depmod -a
sudo modprobe cryptodev
for example_name in 842 aes lzo sha; do
echo **EXAMPLE ${example_name}**
gcc -o examples/${example_name} examples/${example_name}.c
examples/${example_name}
done