forked from HelenOS/helenos
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
80 lines (79 loc) · 2.63 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#
# Travis CI configuration notes
# -----------------------------
#
# * HelenOS is always built for all architectures
# * that is done using matrix environmental variables
# * the list of architectures has to be kept manually in sync with
# HelenOS.config
# * the actual architecture is specified via H_ARCH variable
#
# * ported software is built when H_HARBOURS is set to true for given
# configuration
# * building ported software takes a lot of time, it is thus impossible
# to build for all architectures
# * some ports are known to fail for certain architectures: because that
# would make the whole build failing, we currently build only for ia32
# that seems to be in the best condition with respect to ported software
# * list of harbours is also maintained manually, look for a variable
# H_DEFAULT_HARBOURS_LIST to allow overriding from within this file
#
# * since the setup is rather complicated we use a dedicated shell script to
# run the actual build process and installation of the cross-compiler
# toolchain
#
# * if you have enabled Travis in your feature branch you may want to change
# some of the settings to better suite your needs
# * reduce number of built architectures (probably not needed)
# * built ported software for a different architecture
# * specify H_HARBOURS=true
# * optionally specify H_HARBOUR_LIST="..." to a list of harbours to be
# built
# * optionally specify H_HARBOURS_REPOSITORY="..." to point to your repo
# with HARBOUR files
#
language: c
dist: xenial
sudo: required
env:
global:
- CROSS_PREFIX=/usr/local/cross
matrix:
- H_CCHECK=true
- H_ARCH=amd64
- H_ARCH=arm32/beagleboardxm
- H_ARCH=arm32/beaglebone
- H_ARCH=arm32/gta02
- H_ARCH=arm32/integratorcp
- H_ARCH=arm32/raspberrypi
- H_ARCH=arm64/virt
- H_ARCH=ia32 H_HARBOURS=true H_HARBOUR_LIST="fdlibm zlib binutils"
- H_ARCH=ia64/i460GX
- H_ARCH=ia64/ski
- H_ARCH=mips32/malta-be
- H_ARCH=mips32/malta-le
- H_ARCH=mips32/msim
- H_ARCH=ppc32
- H_ARCH=sparc64/niagara
- H_ARCH=sparc64/ultra
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq genisoimage
- sudo apt-get install -qq python3-pip
- sudo apt-get install -qq python3-setuptools
- pip3 install ninja
- pip3 install --force-reinstall meson==0.50.1
- ./tools/travis.sh install
script:
- ./tools/travis.sh run
os:
- linux
notifications:
irc:
channels:
- "chat.freenode.net#helenos"
use_notice: false
skip_join: true
template:
- "%{repository_name} (%{commit_message}): %{message}"
- "Build details : %{build_url}"