-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
43 lines (41 loc) · 1.32 KB
/
.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
# Make sure we run in the docker container
sudo: false
language: c
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
# Libraries needed to build cross compiler
- libgmp-dev
- libmpfr-dev
# Needed to build the ISO
- xorriso
- grub2
# Userland tools
- llvm
- valgrind
- clang-3.5
- gcc-6
- curl
- qemu
cache:
directories:
- compiler/x86_64-none-elf
before_script:
- virtualenv ~/venv
- source ~/venv/bin/activate
- pip install cldoc
script:
- if [[ ! -e compiler/x86_64-none-elf/bin/x86_64-elf-gcc ]]; then
bash ./scripts/build_cross_compiler.sh;
fi
- export PATH=$PATH:`pwd`/compiler/x86_64-elf/bin/
- make debug MODULE_CC="x86_64-elf-gcc" MODULE_LD="x86_64-elf-ld" TOOLS_CC="gcc-6"
- make clean
- make release MODULE_CC="x86_64-elf-gcc" MODULE_LD="x86_64-elf-ld" TOOLS_CC="gcc-6"
- make iso MODULE_CC="x86_64-elf-gcc" MODULE_LD="x86_64-elf-ld" TOOLS_CC="gcc-6"
- make clean
- make start-test MODULE_CC="x86_64-elf-gcc" MODULE_LD="x86_64-elf-ld" TOOLS_CC="gcc-6"
- #scan-build --status-bugs make MODULE_CC="x86_64-elf-gcc" MODULE_LD="x86_64-elf-ld" TOOLS_CC="gcc-6"