forked from kraj/meta-musl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (40 loc) · 2.98 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
#
# -*- coding: utf-8; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
git:
depth: 150
branches:
only:
- master
language: bash
before_script:
- sudo apt-get update -qq
# Install OE dependencies
# -----------------------
- sudo apt-get install -qq gawk
- sudo apt-get install -qq wget
- sudo apt-get install -qq git-core
- sudo apt-get install -qq diffstat
- sudo apt-get install -qq unzip
- sudo apt-get install -qq texinfo
- sudo apt-get install -qq gcc-multilib
- sudo apt-get install -qq build-essential
- sudo apt-get install -qq chrpath
- sudo apt-get install -qq socat
- sudo apt-get install -qq libsdl1.2-dev
- sudo apt-get install -qq xterm
# Install git
# -----------
- sudo apt-get install -qq git
# Create and initialize the build environment
# -------------------------------------------
- rm -rf /tmp/build_env
- git clone git://git.openembedded.org/openembedded-core-contrib --branch=kraj/master --depth=1 /tmp/build_env
- git clone git://github.com/openembedded/bitbake --branch=master --depth=1 /tmp/build_env/bitbake
- git clone $(pwd) /tmp/build_env/$(basename $(pwd))
script:
- PATH="/usr/sbin:/usr/bin:/sbin:/bin" . /tmp/build_env/oe-init-build-env && echo "BBLAYERS +=\"/tmp/build_env/meta-musl\"" >> $(pwd)/conf/bblayers.conf && echo "DISTRO_FEATURES_append = \" wayland opengl \"" >> $(pwd)/conf/local.conf && TCLIBC=musl MACHINE=qemux86 bitbake core-image-weston | tee -a world.log
- PATH="/usr/sbin:/usr/bin:/sbin:/bin" . /tmp/build_env/oe-init-build-env && echo "BBLAYERS +=\"/tmp/build_env/meta-musl\"" >> $(pwd)/conf/bblayers.conf && echo "DISTRO_FEATURES_append = \" wayland opengl \"" >> $(pwd)/conf/local.conf && TCLIBC=musl MACHINE=qemux86-64 bitbake core-image-weston | tee -a world.log
- PATH="/usr/sbin:/usr/bin:/sbin:/bin" . /tmp/build_env/oe-init-build-env && echo "BBLAYERS +=\"/tmp/build_env/meta-musl\"" >> $(pwd)/conf/bblayers.conf && echo "DISTRO_FEATURES_append = \" wayland opengl \"" >> $(pwd)/conf/local.conf && TCLIBC=musl MACHINE=qemuarm bitbake core-image-weston | tee -a world.log
- PATH="/usr/sbin:/usr/bin:/sbin:/bin" . /tmp/build_env/oe-init-build-env && echo "BBLAYERS +=\"/tmp/build_env/meta-musl\"" >> $(pwd)/conf/bblayers.conf && echo "DISTRO_FEATURES_append = \" wayland opengl \"" >> $(pwd)/conf/local.conf && TCLIBC=musl MACHINE=qemuarm64 bitbake core-image-weston | tee -a world.log
- PATH="/usr/sbin:/usr/bin:/sbin:/bin" . /tmp/build_env/oe-init-build-env && echo "BBLAYERS +=\"/tmp/build_env/meta-musl\"" >> $(pwd)/conf/bblayers.conf && echo "DISTRO_FEATURES_append = \" wayland opengl \"" >> $(pwd)/conf/local.conf && TCLIBC=musl MACHINE=qemumips bitbake core-image-weston | tee -a world.log
- PATH="/usr/sbin:/usr/bin:/sbin:/bin" . /tmp/build_env/oe-init-build-env && echo "BBLAYERS +=\"/tmp/build_env/meta-musl\"" >> $(pwd)/conf/bblayers.conf && echo "DISTRO_FEATURES_append = \" wayland opengl \"" >> $(pwd)/conf/local.conf && TCLIBC=musl MACHINE=qemuppc bitbake core-image-weston | tee -a world.log